FVCOMForecast module

Implementation of Job class for FVCOM Forecasts

class FVCOMForecast.FVCOMForecast(configfile, NPROCS)

Bases: cloudflow.job.Job.Job

Implementation of Job class for FVCOM Forecasts

jobtype

Always ‘fvcomforecast’ 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

DATE_REF

Templated DATE_REF field value for FVCOM namelist

Type

str

BUCKET

The cloud bucket name for saving results

Type

str

BCKTFLDR

The cloud folder name for saving results

Type

str

OUTDIR

The full path to the output folder

Type

str

INPUTFILE

The input namelist to use

Type

str

INTMPL

The input namelist template to use

Type

str

TEMPLPATH

The full path to the templates to use

Type

str

LOCALNEST

Used for NEGOFS and NWGOFS. True - use the nested obc file generated on this machine by the NGOFS forecast False - use the nested obc file available on NOMADS

Type

bool

make_fcstin()

Create the input namelist .in file

parseConfig(cfDict)

Parses the configuration dictionary to class attributes

Parameters

cfDict (dict) – Dictionary containing this cluster parameterized settings.