merra_smb_harmonics.py
Reads monthly MERRA-2 surface mass balance anomalies and converts to spherical harmonic coefficients [29]
Calling Sequence
usage: merra_smb_harmonics.py [-h] [--directory DIRECTORY] [--mean START END]
[--year YEAR [YEAR ...]] [--region REGION]
[--mask MASK [MASK ...]] [--lmax LMAX]
[--mmax MMAX] [--love {0,1,2,3,4}]
[--reference {CF,CM,CE}]
[--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
Start and end year range for mean
- --year, -Y
Years of model outputs to run
- --region, -R
Region name for subdirectory
- --mask
netCDF4 masks file for reducing to regions
- --lmax, -l
Maximum spherical harmonic degree
- --mmax, -m
Maximum spherical harmonic order
- --love, -n
Possible choices: 0, 1, 2, 3, 4
Treatment of the Load Love numbers
- --reference
Possible choices: CF, CM, CE
Reference frame for load Love numbers
'CF': Center of Surface Figure'CM': Center of Mass of Earth System'CE': Center of Mass of Solid Earth
- --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