creare-com / podpac

Pipeline for Observational Data Processing Analysis and Collaboration
https://podpac.org
Apache License 2.0
45 stars 6 forks source link

merge_dims should not throw CRS error when merging "time" with "Lat/Lon/Alt" coordinates #510

Open mpu-creare opened 1 year ago

mpu-creare commented 1 year ago

Description Cannot merge Coordinates, crs mismatch

Steps to Reproduce

ct = podpac.Coordinates([["2000-01-01"]], dims=["time"], crs='EPSG:3758')
cs = podpac.Coordinates([[42], [-72]], ['lat', 'lon'], crs='EPSG:4326')
c = podpac.coordinates.merge_dims([ct, cs])
# thows error

Expected Behavior Should not throw the error, and c.crs == "EPSG:4326".

Observed Behavior Throws error