-
Notifications
You must be signed in to change notification settings - Fork 42
Description
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.