-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regridding GEBCO bathymetry to curvilinear grid #404
Comments
I found out that the regridding tools is particularly sensitive to netcdf metadata. Have you looked at this page? |
The regrid weights generation won't be faster with xESMF still lacks a way to efficiently parallelize the regrid weights generation, the current one is a bit flaky and is only useful when going to higher resolution. |
Thanks. I checked all the meta-data. It was barking at me until I had it right. It now runs but the error message above is issued so many times to the log that it will overflow my disk. No idea if it is working properly or not. Wonder if it is possible to turn off the logging. The log file shows this but I supposed I would have to recompile the Fortran program to turn off the logging? Unless there is an environment variable to do so? !!! THE ESMF_LOG IS SET TO OUTPUT ALL LOG MESSAGES !!! |
In the technical doc of ESMF, in this section : https://earthsystemmodeling.org/docs/release/latest/ESMF_refdoc/node3.html#SECTION03026000000000000000 xESMF and ESMF are only loosely affiliated, so devs do not read these issues ( I think!) . |
I'm trying to regrid the GEBCO bathymetry to a regional model grid for the northern hemisphere. I'm trying to do this like this:
/envs/pangeo310/bin/ESMF_RegridWeightGen -s 2024/GEBCO_2024.nc --dst_regional -d output.nc -w testWei
gthsScripts.nc -m bilinear
I'm getting lots of errors like this that fill my disk up very quickly:
20241121 134756.230 ERROR PET0 ESMCI_DistGrid.C:5101 ESMCI::DistGrid::getSequenceInde Invalid argument - SeqIndex type mismatch detected
The output .nc files looks like this. It is a curvelinear grid over the Arctic. The input file is a lat lon grid (pretty big 86400 by 43200)
dimensions:
x = 864 ;
y = 640 ;
variables:
float lat(y, x) ;
lat:_FillValue = 1.e+20f ;
lat:units = "degrees_north" ;
float lon(y, x) ;
lon:_FillValue = 1.e+20f ;
lon:units = "degrees_east" ;
Any advice?
I'm also wondering for tips on how to possibly speed this up running this as a regular python script using the xESMF tools. I can't quite figure out how to best take advantage of the multiple processors? Do I have to run this in a DASK cluster?
Thanks
Axel
The text was updated successfully, but these errors were encountered: