Creating MITGCM Initial condition¶
mkMITgcmIC¶
Generate initial conditions for MITgcm from a CF-compliant Netcdf data It assume that the levels are in meters and is from top to bottom
Usage:
mkMITgcmIC [OPTIONS]
Options:
--varnm TEXT Name of the variable in the input file \[required]
--input TEXT Input can be:
1. A NetCDF file.
2. A valid cdo option which will generate a NetCDF
file.
e.g. "-mergetime input1.nc input2.nc input3.nc"
\[required]
--nx INTEGER Number of points in x-direction \[required]
--ny INTEGER Number of points in y-direction \[required]
--nml FILE Path to the MITgcm `data` namelist file \[default:
data]
--mitgrid FILE Path to the MITgcm grid file \[default:
tile001.mitgrid]
--timestep INTEGER Timestep at which data to be used for initial condition
\[default: 1]
--ovarnm TEXT Name of the variable in the filename.
e.g. <ovarnm>_ini.bin. If None provided it will use the
<varnm>
--addc FLOAT Add a constant to the input field \[default: 0.0]
--mulc FLOAT Multiply a constant to the input field \[default: 1.0]
--help Show this message and exit.