sloop-hycom3d-run-spnudge-1-spectral-0-preproc.py

Prepare netcdf files for spectral filtering.

usage: bin/sloop-hycom3d-run-spnudge-1-spectral-0-preproc.py
       [-h] [--log-level {debug,info,warning,error,critical}]
       [--log-file LOG_FILE] [--log-no-color]
       [--ncin-hycom3d-pattern NCIN_HYCOM3D_PATTERN] [--ncout-patt NCOUT_PATT]
       [--regional-grid REGIONAL_GRID] [--regional-depth REGIONAL_DEPTH]
       [--blkdat BLKDAT] [--blkdat-cmo BLKDAT_CMO] [-j SPECTRAL_JSON]
       [--rank RANK]
       ncins_hycom3d ncins_mercator

Positional Arguments

ncins_hycom3d

comma-separated list of netcdf input files from the demerliac filtering

ncins_mercator

comma-separated list of [a/b] nesting hycom files

Named Arguments

--log-level

Possible choices: debug, info, warning, error, critical

logging level

Default: “info”

--log-file

logging file name

Default: “sloop.log”

--log-no-color

suppress colors in console

Default: False

--ncin-hycom3d-pattern

pattern netcdf files demerliac filtered

Default: “(?P<field>.*)-hycom3d.nc”

--ncout-patt

pattern of netcdf output filtered files

Default: “{varname}-{source}-spectral.nc”

--regional-grid

regional grid .a or .b file

Default: “FORCING{rank}./regional.grid.b”

--regional-depth

regional depth .a or .b file

Default: “FORCING{rank}./regional.depth.b”

--blkdat

blkdat .input file

Default: “PARAMETERS{rank}./blkdat.input”

--blkdat-cmo

blkdat cmo .input file

Default: “PARAMETERS{rank}./blkdat_cmo.input”

-j, --spectral-json

json specs for demerliac

Default: “spectral.json”

--rank

nesting rank

Default: 0