![]() Print('Band names:', band_names.getInfo()) # ee.List of band names # Get information about the bands as a list. Print('Timestamp:', date) // ee.Date Colab (Python) import pprint ![]() Var date = ee.Date(image.get('system:time_start')) Get the timestamp and convert it to a date. Var version = image.get('system:version') Įe.Date(ee.Number(version).divide(1000))) // ee.Date Get version number (ingestion timestamp as microseconds since Unix epoch). Print('CLOUD_COVER:', cloudiness) // ee.Number Var cloudiness = image.get('CLOUD_COVER') Print('Metadata properties:', properties) // ee.List of metadata properties Get a list of all metadata properties. Print('Band 8 scale:', b8scale) // ee.Number Var b8scale = lect('B8').projection().nominalScale() Note that different bands can have different projections and scale. Print('Band 1 scale:', b1scale) // ee.Number Var b1scale = lect('B1').projection().nominalScale() Get scale (in meters) information from band 1. Print('Band 1 projection:', b1proj) // ee.Projection object ![]() Get projection information from band 1. Print('Band names:', bandNames) // ee.List of band names ![]() Get information about the bands as a list. Code Editor (JavaScript) // Load an image. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |