improve guessing of coordinates based on their names
unfortunately the CF conventions do not specify any ordering so we cannot get any information from the coordinates
attribute what coordinate represents the x
and what coordinate represents the y
axis. So here we implement a good guess that assumes the x
-coordinate has a lon
in the name or ends with or starts with an x
, and the the y
coordinate has a lat
in the name and ends with or starts with a y
(all case independent).