merra_smb_mean.py

  • Reads MERRA-2 datafiles to calculate multi-annual means of derived surface mass balance products

Source code

Calling Sequence

usage: merra_smb_mean.py [-h] [--directory DIRECTORY] [--mean START END]
                         [--format {ascii,netCDF4,HDF5}] [--verbose]
                         [--mode MODE]
                         {SMB,ACCUM,PRECIP,RAINFALL,SUBLIM,RUNOFF} [{SMB,ACCUM,PRECIP,RAINFALL,SUBLIM,RUNOFF} ...]

Positional Arguments

product

Possible choices: SMB, ACCUM, PRECIP, RAINFALL, SUBLIM, RUNOFF

MERRA-2 derived product

  • 'SMB': Surface Mass Balance

  • 'ACCUM': Snowfall accumulation

  • 'PRECIP': Total Precipitation

  • 'RAINFALL': Total Rainfall

  • 'SUBLIM': Evaporation and Sublimation

  • 'RUNOFF': Meltwater Runoff

Named Arguments

--directory, -D

Working data directory

--mean, -m

Start and end year range for mean

--format, -F

Possible choices: ascii, netCDF4, HDF5

Input and output data format

--verbose, -V

Verbose output of processing run

--mode, -M

Permission mode of directories and files