Closed aladinor closed 8 months ago
@aladinor Can you show the output of the original ds, before adapting the coords?
The question is why would there be a change in coordinates? Does the DOW move while scanning?
@kmuehlbauer I think it is moving a little from the below-given info, and so is its name suggesting, "Doppler on Wheels (DOW)"
np.unique(ds.longitude.values), np.unique(ds.latitude.values), np.unique(ds.altitude.values)
(array([-88.33179474, -88.33178711, nan]),
array([40.0148201 , 40.01482391, nan]),
array([210.99999547, 211.9999975 , nan]))
@aladinor i overlooked your issue, and didn't notice you're also providing solution to it.
Hi @kmuehlbauer and @syedhamidali. I didn't know that DOW8 data records lat, lon, and elevation as a function of time. This may be produced as it is a mobile platform. I thought it was an I/O error, but it isn't. I will close this issue since it is not properly a bug. Thanks once more for your time and help.
Cheers,
Alfonso
This question is related to #145 . After open a
Cfradial
file I tried to applygeoreference
as followsThen, I got a
pyproj.exceptions.CRSError
Digging a little bit, this happens because this
cfradial
file reports more than 1 value in thelongitude
,latitude
andelevation
dimensions/variables. Therefore, when creating theprojparams
, thepyproj.exceptions.CRSError
raise up. To solve this issue, I found out that I can take the mean/median value for those variables, and everything works perfectly.If we look at the ds
Should we care about this in the
Cfradial
accessor stage? or, where do you think we could take care of this?Cheers,
Alfonso.