Open thareUSGS opened 1 year ago
@thareUSGS, thanks very much for the suggested fix!
Tested for a few Mars GeoTIFFs and Shapefiles. Seems to fix it.
BTW, this could actually be more accurate for Earth datasets. Forcing all Earth calculations to WGS84 (as new definitions for Earth are released) could end up being bad.
To fix the calculation for planetary codes in the latest version, this code can likely be updated from:
https://github.com/DOI-USGS/fort-pymdwizard/blob/225193692f9399b20d44905d7cf8e58441e428bd/pymdwizard/core/spatial_utils.py#L142C1-L143C32
to: