gcpy.examples.working_with_files.add_blank_var_to_restart_file
Example program to add a variable containing all zeroes to an xarray Dataset object. Useful when you have to insert new species into GEOS-Chem diagnostic or restart files.
Examples
Copy this file to a different folder and navigate to that folder.
In your copy, edit atttributes and file names for your use case.
Run the following commands:
$ conda activate gcpy_env
(gcpy_env) $ ./regrid_restart_ll_to_cs.py
Functions
|
Adds a variable containing all zeroes to a netCDF file. |
|
Main program |