Closed kbloxam closed 10 months ago
Hi @kbloxam, I think the regrid_restart_file
function is only set up to regrid restart files. The file you are trying to regrid is not a GEOS-Chem restart file.
Hi @kbloxam, thanks for writing. We have just released GCPy 1.4.0 (see https://gcpy.readthedocs.io for updated installation instructions). In this version, I have fixed a few broken issues in the online regrididng weights method (i.e. using the file_regrid.py
script). See the updated documentation here: https://gcpy.readthedocs.io/en/stable/Regridding.html
Also, if you only want to plot the data, then you don't have to regrid it. The gcpy.plot.single_panel
routine can create a plot from either cubed-sphere or lat-lon data.
I will close out this issue for now. Feel free to raise another issue if you are still encountering problems.
The Bug
I am trying to regrid from C48 to a 2x2.5 lat/lon grid. I have followed the outlined steps in the documentation but when I execute the regrid_restart_file submodule I get the following error:
To Reproduce
Expected behavior
I would expect the regridding to work.
Required information:
This produces another error it seems.