metno / pysurfex

Python API to SURFEX. Tool to create offline SURFEX forcing, SURFEX files, running SURFEX and plot results.
10 stars 16 forks source link

Fixes for generating forcing from rotated_ll GRIB input #16

Closed joewkr closed 1 year ago

joewkr commented 1 year ago

This PR changes indexing order of the computed longitudes and latitudes arrays to avoid array dimension mismatch errors, and corrects the arguments passed to the Geo object constructor. This allows generating SURFEX forcing from rotated_ll GRIB input with nearest neighbor interpolation.