# Copyright 2008-2021 Earth Sciences Department, BSC-CNS
#
# NMMB and MONARCH preprocessing codes.
#
# This file is part of MONARCH.
#
# MONARCH is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# MONARCH is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with MONARCH. If not, see <http://www.gnu.org/licenses/>.
#
# The NMMB code was developed by the National Oceanic and Atmospheric
# Administration. NMMB is provided on an AS IS basis, without warranties
# or conditions of any kind, either express or implied.

The programs in this directory prepare initial conditions for model
runs and other data that change in time.  

The grib data are fetched from NCEP, ECMWF or Copernicus sites.

The geographical data are taken from the directory ../geodata.  The
intermediate and final fields are stored in the directory ../output,
except for the sst grib data that are fetched to this directory.

The data grids and the model grid are defined in *.inc files.  The
file lmimjm.inc defines the model grid for the f77 programs, and 
must agree with the file modelgrid.inc used in f90 programs.

The interactive script JOB/TEMPLATE/NMMBrrtm_RUN_TEMPLATE.sh with 
DO_VAR=1 does the part of preprocessing depending on domain size and
cycle time.

Don't forget to edit the run script the first time if necessary.

N.B.
The file ../output/dsg is now available and if you wish you can go
back to the directory ../FIX and run the script runco2 to
generate the co2 transmission functions for the GFDL Eta radiation.
