-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GEOMS reader for TOLNet #57
Conversation
'scan' makes more sense to indicate multiple scans
with option to disable this
but option to disable
Was getting some CI failures because the AERONET website was temporarily unavailable. Maybe should find a way to skip those tests if that is the case (though linkcheck of the docs would still fail). |
Python 3.6 is failing because it is reporting the dataset dims as ('altitude', 'time') instead of ('time', 'altitude'). Probably due to difference in xarray version somehow, since CPython 3.6 remembers dict insertion order too. Currently Getting:
|
so py36, which gives in alpha order instead, can pass, but we are still checking that they are correct
I think that in MONET we may need to add logic to recognize or search for |
I think first we need to know whether any datasets could have data in both |
Well it could be a lidar on a moving platform so varying latitude and
longitude. I'm not sure if they would have both latitude and
latitude_instrument. Maybe one would point to the origin and the other
would point to the time varying latitude and longitude
…On Tue, Mar 29, 2022 at 2:19 PM Zachary Moon ***@***.***> wrote:
I think that in MONET we may need to add logic to recognize or search for
latitude_instrument for the interpolation routines as in the beginning of
the monet_accessor.py
I guess first we need to know whether any datasets could have data in both
latitude and latitude_instrument, which does seem possible from the GEOMS
description. I guess e.g. a lidar that is not pointed straight up?
—
Reply to this email directly, view it on GitHub
<#57 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFIUVN75UNXS5OOH6THXUOTVCNCQ3ANCNFSM5QXIBROA>
.
You are receiving this because your review was requested.Message ID:
***@***.***>
|
@jo3hnsullivan could you offer some advice here? |
I have not come across any GEOMS files in the lidar community that use a separate latitude_instrument and latitude value. Is this documentation helpful? https://evdc.esa.int/documentation/browse-meta-data/data_group/ |
@jo3hnsullivan do you want to add Guillaume here? |
Any thoughts here @drguigui? |
I don't really know how NOAA is doing it: I think they prefer to put an angle from the vertical and maybe an azimuth: that's probably easier than putting some separate lat/lon. |
@bbakernoaa Maybe in the case of |
Good point.
…On Tue, Mar 29, 2022 at 4:04 PM Zachary Moon ***@***.***> wrote:
I think that in MONET we may need to add logic to recognize or search for
latitude_instrument for the interpolation routines
@bbakernoaa <https://github.com/bbakernoaa> Maybe in the case of
latitude_instrument/longitude_instrument only, another solution could be
to just rename them in the reader to latitude/longitude.
—
Reply to this email directly, view it on GitHub
<#57 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFIUVN5KJV775UXUVF7H2XDVCNO4LANCNFSM5QXIBROA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
That is good to know. I think we would be pretty safe just renaming
I will have to make modifications to support other possible dimensions that GEOMS supports. With my current approach, variations in lat/lon should be possible to handle, but it would be good to have a file to test. |
@zmoon I say we go ahead and proceed. If/when we come across a Lidar at an angle we can then spend the time to update it. I think that this should be ready to go once we rename the |
in the case that we don't already have a latitude dim
Ok, that is done. I still worry that current code won't work properly for datasets with different dimensions, but I guess we can wait until we are provided such a file to test to address that. |
Ok, this should at least work for TOLNet files similar to our sample file, so I am going to merge this now. We can enhance it to support other files when they come up. |
Closes #50
open_dataset
function to read a GEOMS file using optional dependencypyhdf
fakeDim
s to the real dims, giving a coordinate variable to eachLATITUDE
/LONGITUDE
without.INSTRUMENT
(in Section 4.2.6 here we can see that the.INSTRUMENT
may not always be there, or maybe one could even have both)