Unidata / netcdf-java

The Unidata netcdf-java library
https://docs.unidata.ucar.edu/netcdf-java/current/userguide/index.html
BSD 3-Clause "New" or "Revised" License
146 stars 71 forks source link

Allow coverage axes with same name in different case #1219

Closed tdrwenski closed 1 year ago

tdrwenski commented 1 year ago

When a coverage has two axes with the same name but in different case, e.g. TIME and time, the lookup of an axis for a dataset fails to return the correct axis as it uses a case insensitive lookup. As the CF convention does not forbid this, merely recommends against it, we should allow for this situation by first looking up the name case sensitive and then case insensitive if that fails.