xESMF
xESMF copied to clipboard
xESMF error after 12+ hour script run in downscaling grid/upsampling data
I am working with xesmf downscale a grid and upsample high resolution GLM data (5424 x 5424) to a global climate model grid which is 1.25 degree lon x 1 degree lat.
After forming a netcdf file of an xarray data array I used the commands as instructed for curvilinear grids on this page: https://xesmf.readthedocs.io/en/latest/notebooks/Curvilinear_grid.html
Here are the commands:
ds_out = xe.util.grid_global(1, 1.25)
regridder = xe.Regridder(ds, ds_out, "bilinear", periodic=True) glm_ff_downscale = regridder(glm_ff) After a 12+ hour run of the python script, I obtained this error:
Traceback (most recent call last):
File "lat_lon_xesmf2.py", line 60, in
I looked in the error log file listed above and did not know what to do with the message listed below:20220208 021505.857 ERROR PET0 ESMF_Regrid.F90:366 ESMF_RegridStore Invalid argument - Internal subroutine call returned Error 20220208 021507.897 ERROR PET0 ESMF_FieldRegrid.F90:1415 ESMF_FieldRegridStoreNX Invalid argument - Internal subroutine call returned Error 20220208 021508.077 ERROR PET0 ESMF_Field_C.F90:1130 f_esmf_regridstore Invalid argument - Internal subroutine call returned Error 20220208 021543.915 INFO PET0 Finalizing ESMF
Any help in the interpretation or way forward of this error will be greatly appreciated. I have also tried other Python and unix regridding tools like xarray coarsen, pyresample, cdo, nctoolkit, block_reduce in skimage all either fail or do not give quite the result that I need.
Thanks Jonathan
same error message here when running
regridder = xe.Regridder(ds, ds_out, "bilinear")
where ds
is a dask
Dataset
This version of the package is no longer maintained. Would you mind moving your issue to https://github.com/pangeo-data/xESMF?