racmo_smb_cumulative.py

  • Reads RACMO datafiles to calculate cumulative anomalies in derived surface mass balance products

Source code

Calling Sequence

usage: racmo_smb_cumulative.py [-h] [--product PRODUCT] [--variable VARIABLE]
                               [--mean START END] [--verbose] [--gzip]
                               [--mode MODE]
                               infile

Positional Arguments

infile

RACMO SMB file to run

Named Arguments

--product, -P

Possible choices: precip, rainfall, refreeze, runoff, smb, sndiv, snowfall, snowmelt, subl

RACMO SMB product to calculate

  • 'precip': Precipitation

  • 'rainfall': Rainfall

  • 'refreeze': Meltwater Refreeze

  • 'runoff': Meltwater Runoff

  • 'smb': Surface Mass Balance

  • 'sndiv': Snow Drift Erosion

  • 'snowfall': Snowfall

  • 'snowmelt': Snowmelt

  • 'subl': Sublimation

--variable, -N

RACMO netCDF variable name for product

--mean, -m

Start and end year range for mean

--verbose, -V

Verbose output of processing run

--gzip, -G

netCDF4 file is locally gzip compressed

--mode, -M

Permission mode of directories and files