1: Prepare the config file 'input' (configuration of namelists). 


2: Prepare the forcing file according to your run config.

input files:

when using ascii option: forcing*.asc     (see CMEM input/output ASCII)
when using gribapi option: *.grib            (see CMEM input/output GRIB)
when using netcdf option: *.nc               (see CMEM input/output NetCDF)

(Test data is available from here)


3: When using the gribapi option, CMEM needs to have a template file to write the outputs.
To this end you need to copy SWVL1.grib into SWVL1.tmpl (see README_CMEM_GRIB.TEX)

$ cp SWVL1.grib SWVL1.tmpl


4: When using the gribapi option, CMEM needs environment variable GRIB_TEMPLATES_PATH.
Before running cmem, do

# e.g. template file: /home/user/wk/SWVL1.tmpl
$ export GRIB_TEMPLATES_PATH=/home/user/wk   # for ksh or bash


5: Run CMEM

$ ./cmem       # output files: ./out*


CMEM FAQs

CMEM