ROMSForecast module¶
-
class
ROMSForecast.
ROMSForecast
(configfile, NPROCS)¶ Bases:
cloudflow.job.Job.Job
Implementation of Job class for ROMS Forecasts
-
jobtype
¶ Always ‘romsforecast’ for this class.
- Type
str
-
configfile
¶ A JSON configuration file containing the required parameters for this class.
- Type
str
-
NPROCS
¶ Total number of processors in this cluster.
- Type
int
-
OFS
¶ The ocean forecast to run.
- Type
str
-
CDATE
¶ The forecast date in format YYYYMMDD
- Type
str
-
HH
¶ The forecast cycle in format HH
- Type
str
-
COMROT
¶ The base directory to use, e.g. /com/nos
- Type
str
-
PTMP
¶ The base directory for the scratch disk, usually /ptmp
- Type
str
-
EXEC
¶ The model executable to run. Only used for ADNOC currently.
- Type
str
-
TIME_REF
¶ Templated TIME_REF field value for ROMS ocean.in
- Type
str
-
BUCKET
¶ The cloud bucket name for saving results
- Type
str
-
BCKTFLDR
¶ The cloud folder name for saving results
- Type
str
-
NTIMES
¶ Templated NTIMES field value for ROMS ocean.in
- Type
str
-
ININAME
¶ The file to use as a restart file.
- Type
str
-
OUTDIR
¶ The full path to the output folder
- Type
str
-
OCEANIN
¶ The ocean.in file to use or “AUTO” to use a template
- Type
str
-
OCNINTMPL
¶ The ocean.in template to use or “AUTO” to use the default template
- Type
str
-
TEMPLPATH
¶ The full path to the templates to use
- Type
str
-
make_oceanin
()¶ Create the ocean.in file from a template
-
parseConfig
(cfDict)¶ Parses the configuration dictionary to class attributes
- Parameters
cfDict (dict) – Dictionary containing this cluster parameterized settings.
-