Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update examples to replace PSOrthoTile example with PSScene #874

Open
JuLeeAtPlanet opened this issue Mar 15, 2023 · 1 comment · Fixed by #875
Open

Update examples to replace PSOrthoTile example with PSScene #874

JuLeeAtPlanet opened this issue Mar 15, 2023 · 1 comment · Fixed by #875

Comments

@JuLeeAtPlanet
Copy link
Contributor

Expected behavior
No examples using PSOrthoTile. create_order example should use PSScene.

Actual behavior (describe the problem)
We've been asked to remove PSOrthoTile examples from all content by March 22. This change can happen anytime.

Related Issues
Additional changes to codebase will be requested in the documentation or later as part of a dot release. This request is only to change the example in the file: https://github.com/planetlabs/planet-client-python/blob/main/planet/clients/orders.py

Workaround
n/a

Minimum, Complete, Viable Code Sample
A "Minimal, Complete and Verifiable Example" will make it much easier for maintainers to help you.
See http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports

Replace:

        ...     image_ids = ['3949357_1454705_2020-12-01_241c']
        ...     request = build_request(
        ...         'test_order',
        ...         [product(image_ids, 'analytic', 'psorthotile')]

with:

        ...     image_ids = ["20200925_161029_69_2223"]
        ...     request = build_request(
        ...         'test_order',
        ...         [product(image_ids, 'analytic_udm2', 'psscene')]

Environment Information

  • Operation System Information (python -c "import platform; print(platform.platform())")
  • Python version (python -c "import sys; print(sys.version.replace('\n', ' '))")
  • Planet package version (planet -v)

Installation Method

  • conda, pip wheel, from source, etc...
@tbarsballe
Copy link
Contributor

This specific example has been fixed by #875, but there's still a lot of other PSOrthoTile (and Sentinel and Landsat) examples that should be updated. Leaving this as a catch-all for those

@tbarsballe tbarsballe changed the title Update the create_order to replace PSOrthoTile example with PSScene Update examples to replace PSOrthoTile example with PSScene Aug 22, 2024
@tbarsballe tbarsballe added this to the V2 Post-Release milestone Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants