some questions about parameters of Data API

Hello,

I have a question related to Data API. 

I understand that in Data API, I can use date range, cloud coverage to filter the image.

I am wondering is it possible to filter images using "Radiometry" as shown below, e.g., I can set the parameter to "surface reflectance". If I cannot set the parameter, what kind of images do I download? Are they the type of  "surface reflectance"?

Thanks!

0

Comments

6 comments
  • Official comment

    Hi Leikun,

    For Data API, you can filter use AndFilter

    Example, if you want to filter Surface Reflectance asset, then:

    "filter": {
    "type":"AndFilter",
    "config":[
    { "type": "AssetFilter", "config": [ "analytic_sr" ] }
    ]
    }

    You can refer to this document below for different item and asset type:

    https://developers.planet.com/docs/apis/data/items-assets/

     

    Thank You.

    Emir

     

     

     

  • Hi Emir,

    Thanks for your reply!

    I am using the command line. Can you provide a command line example? For example, as shown below, can you help me add a parameter in the following code?

    planet data download --item-type PSScene4Band --range cloud_cover lt .01 --asset-type analytic --date acquired gt 2020-04-01 --date acquired lt 2020-11-01 --geom C:\Users\Desktop\geojson\map.geojson --dest C:\Users\Desktop\dest

     

    Thanks!

    0
  • Hi Leikun,

    If you're using Planet CLI, then you just need to put --asset-type analytic_sr  to filter the surface reflectance asset.

    Thank you.

    Emir

    0
  • Hi Emir,

    Thanks for your reply!

    I find the parameters introduced in this website https://planetlabs.github.io/planet-client-python/cli/index.html is incomplete. For example, it does not introduce the analytic_sr. 

    Could you share a website with more Planet CLI examples and knowledge?

    Also, I found a link in another post. But when I opened it, it needed username and password. I do not know what the username and password are. Is this website helpful to me to learn more Planet CLI examples and knowledge? Do I have access to this web page?

     

    0
  • Hi Leikun,

    This link that you have provided only shows a few samples https://planetlabs.github.io/planet-client-python/cli/index.html 

    You have to refer to the Data API documentation below for a complete list and asset. 

    https://developers.planet.com/docs/apis/data/items-assets/

     

     

    Thank you.

    Emir

    0
  • Hi Emir,

    Thank you so much!

    0

Please sign in to leave a comment.

Didn't find what you were looking for?

New post