Skip to content

Update examples to replace PSOrthoTile example with PSScene #874

@JuLeeAtPlanet

Description

@JuLeeAtPlanet
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...

Activity

tbarsballe

tbarsballe commented on Aug 22, 2024

@tbarsballe
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

changed the title [-]Update the create_order to replace PSOrthoTile example with PSScene[/-] [+]Update examples to replace PSOrthoTile example with PSScene[/+] on Aug 22, 2024
added this to the V2 Post-Release milestone on Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      Participants

      @tbarsballe@JuLeeAtPlanet

      Issue actions

        Update examples to replace PSOrthoTile example with PSScene · Issue #874 · planetlabs/planet-client-python