Closed jkeifer closed 10 years ago
Loading the image in Arc does not work, but ignoring this warning and continuing on with the the processing chain WITHOUT reprojecting the image seems to function properly and I don't believe it causes issues further down the line with projections/registration in Arc.
I do not believe this to be detrimental to the operation of the program, and is a problem with the MODIS reprojection tool. If anyone can present evidence otherwise, I will reconsider my position, but I am going to call this a wontfix for now.
When running the function to build a multidate image from single date .hdf files, GDAL has the error message: "Warning 1: Wrong datum code 317. Supported datums 0--31 only. Setting WGS84 as a fallback." The datum should be WGS84 as defined by the MODIS reprojection utility, but that tool seems to set the datum in a way GDAL cannot understand. The files straight out of the MODIS reprojection utility have a spatial reference that ArcGIS can interpret properly, but the built multidate images do not. The solution right now is to use the Define Projection tool in ArcGIS, and set the multidate image's spatial reference to that of one of the reprojected MODIS .hdfs.
I am not sure if this issue is really is in this code or is a problem with the MODIS utility, but seeing as ArcGIS can display one of the reprojected .hdf files correctly, I have to think this code needs to deal with the problem in a more effective manner, whether or not the MODIS tool is responsible.