Skip to content

Commit

Permalink
fix regridding bug for domains with missing lat/lon data (#162)
Browse files Browse the repository at this point in the history
This fixes a bug in the visualization notebook where regridding would fail if there were no observations at a particular lat/lon coordinate at .1 degree intervals, causing uneven spacing of the xarray coordinates and failure to regrid via xesmf.

This creates a dummy dataframe with even spacing, merges it to the actual data with a left join and then generates the xarray dataset.
  • Loading branch information
laestrada authored Aug 31, 2023
1 parent 90b1f7d commit c28acd1
Showing 1 changed file with 441 additions and 195 deletions.
Loading

0 comments on commit c28acd1

Please sign in to comment.