Closed alex-s-gardner closed 2 years ago
And the lat lon polygon so that we can quickly assess if a point falls within an open datacube without having to refer back to the geojson file
Current cube attributes are:
{'GDAL_AREA_OR_POINT': 'Area',
'author': 'ITS_LIVE, a NASA MEaSUREs project (its-live.jpl.nasa.gov)',
'autoRIFT_parameter_file': 'http://its-live-data.s3.amazonaws.com/autorift_parameters/v001/autorift_landice_0120m.shp',
'datacube_software_version': '1.0',
'date_created': '09-Jun-2022 13:12:56',
'date_updated': '09-Jun-2022 13:12:56',
'geo_polygon': '[[-71.56505117707799, 75.62361392569038], [-70.74070835623284, 75.7238184710626], [-69.90476880809518, 75.82107619259077], [-69.05734945001174, 75.91532303671188], [-68.19859051364818, 76.00649525257923], [-68.57470620191262, 76.21534454348573], [-68.96248897457819, 76.42367525466142], [-69.36245301531218, 76.63145669192691], [-69.77514056883192, 76.8386563994656], [-70.67681568183822, 76.74154633580592], [-71.56505117707799, 76.64124795661559], [-72.43972794819932, 76.53783556596008], [-73.30075576600638, 76.43138349725554], [-72.84757825978816, 76.23052375576358], [-72.40757543781841, 76.02891734449193], [-71.98023071822286, 75.82660209673705], [-71.56505117707799, 75.62361392569038]]',
'institution': 'NASA Jet Propulsion Laboratory (JPL), California Institute of Technology',
'latitude': '76.23',
'longitude': '-70.71',
'proj_polygon': '[[-700000, -1400000], [-675000.0, -1400000.0], [-650000.0, -1400000.0], [-625000.0, -1400000.0], [-600000, -1400000], [-600000.0, -1375000.0], [-600000.0, -1350000.0], [-600000.0, -1325000.0], [-600000, -1300000], [-625000.0, -1300000.0], [-650000.0, -1300000.0], [-675000.0, -1300000.0], [-700000, -1300000], [-700000.0, -1325000.0], [-700000.0, -1350000.0], [-700000.0, -1375000.0], [-700000, -1400000]]',
'projection': '3413',
's3': 's3://its-live-data/datacubes/v02/N70W070/ITS_LIVE_vel_EPSG3413_G0120_X-650000_Y-1350000.zarr',
'skipped_granules': 's3://its-live-data/datacubes/v02/N70W070/ITS_LIVE_vel_EPSG3413_G0120_X-650000_Y-1350000.json',
'time_standard_img1': 'UTC',
'time_standard_img2': 'UTC',
'title': 'ITS_LIVE datacube of image_pair velocities',
'url': 'https://its-live-data.s3.amazonaws.com/datacubes/v02/N70W070/ITS_LIVE_vel_EPSG3413_G0120_X-650000_Y-1350000.zarr'}
The name and URL of the datacube should be added as global attributes to the datacube Zarr files: