Wrong calculation of lat/lon when providing easting/northing and PROJ_CODE: 31287
Within the following repository we are running SNP simulations based on NWP model data and using the NETCDF plugin of Meteoio.
https://gitlab.com/avalanche-warning/models/snowpack/forecasts
We provide a NETCDF file with gridded NWP data and an ini-file with VSTATIONS using xy(), so (easting,northing,elevation). When preparing the NETCDF file (formatting according to CF1.6 convention) I realized that I had to switch the naming of northing and easting and the corresponding input in the ini-file to get a correct output for latitude and longitude which are written out to the PRO-file. I can format the NETCDF with correct assignment of easting and northing and the selection of the grid point is correct (uses correct meteo data based on easting/northing), but then latitude and longitude are wrong. Changing the shape (for example switching easting and northing dimension) doesn't work. Then Meteoio throws errors due to being out of bounds of the grid. Not sure if this description is good enough. Let me know if there's some additional info I could provide. Thanks a lot for helping!!