You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. I regularly find myself wishing guess_coord_axis() would find more dimension and coordinate names. I was just adding some to do a PR but I see that some are purposely excluded. For example I would like it to find "lat" when the variable name doesn't start with "lat" but it is just in the name somewhere. I see this was purposefully done because some people must have datasets that use "nlat" as a dimension to count their latitudes but want it to be "Y" not "latitude". Same with lon, time, and Z.
I also would like to add "eta" and "xi" to the guess regex for "Y" and "X" respectively to pick up dimensions in ROMS files. However, perhaps this would cause a problem for some users if they have other variable names with those names in them.
Would it make sense to have a flag for levels of leniency for guesses? Or for whether they have to be at the start of the variable name or not?
I can submit the code I have if this is too abstract to discuss. Thanks.
The text was updated successfully, but these errors were encountered:
@dcherian What do you think about this? My hope is to avoid needing to change e.g. eta_rho to a coordinate and add the attribute axis="Y" for all ROMS output.
Hi. I regularly find myself wishing
guess_coord_axis()
would find more dimension and coordinate names. I was just adding some to do a PR but I see that some are purposely excluded. For example I would like it to find "lat" when the variable name doesn't start with "lat" but it is just in the name somewhere. I see this was purposefully done because some people must have datasets that use "nlat" as a dimension to count their latitudes but want it to be "Y" not "latitude". Same with lon, time, and Z.I also would like to add "eta" and "xi" to the guess regex for "Y" and "X" respectively to pick up dimensions in ROMS files. However, perhaps this would cause a problem for some users if they have other variable names with those names in them.
Would it make sense to have a flag for levels of leniency for guesses? Or for whether they have to be at the start of the variable name or not?
I can submit the code I have if this is too abstract to discuss. Thanks.
The text was updated successfully, but these errors were encountered: