AstroDigital / modis-ingestor

Scripts and other artifacts for MODIS data ingestion into Amazon public hosting.
MIT License
14 stars 2 forks source link

Problem with boundary polygons #44

Open jeffnaus opened 5 years ago

jeffnaus commented 5 years ago

We are attempting to catalog MODIS data sets and have found some issues with the boundary polygons being incorrect. For instance this product: MOD09GQ.A2017112.h23v02.006.2017114034459.hdf found here https://s3-us-west-2.amazonaws.com/modis-pds/MOD09GQ.006/23/02/2017112/MOD09GQ.A2017112.h23v02.006.2017114034459.hdf.xml.

Has a boundary polygon in the XML like this:

94.8565392816915 59.2599860866768 114.567785087656 67.6165109403567 -136.147711707288 56.6146339179703 124.453986719599 59.0449762757696

Which does not seem correct. Note the product.json has the same values.

The tif (band 1) headers look like this: Corner Coordinates: Upper Left ( 5559752.598, 7783653.638) (146d11'24.79"E, 70d 0' 0.00"N) Lower Left ( 5559752.598, 6671703.118) (100d 0' 0.00"E, 60d 0' 0.00"N) Upper Right ( 6671703.118, 7783653.638) (175d25'41.75"E, 70d 0' 0.00"N) Lower Right ( 6671703.118, 6671703.118) (120d 0' 0.00"E, 60d 0' 0.00"N) Center ( 6115727.858, 7227678.378) (130d 8'27.91"E, 65d 0' 0.00"N)

Is there an issue with the data or am I misinterpreting what that boundary polygon in the XML?