merra_hybrid_harmonics.py
Reads 5-day MERRA-2 hybrid variables and converts to spherical harmonic coefficients [29]
Estimates the grid values as point masses for calculating the gravitational spherical harmonic coefficients
MERRA-2 Hybrid firn model outputs provided by Brooke Medley at GSFC
Calling Sequence
usage: merra_hybrid_harmonics.py [-h] [--directory DIRECTORY]
[--region {gris,ais}]
[--version {v0,v1,v1.0,v1.1,v1.2,v1.2.1}]
[--product PRODUCT] [--year YEAR [YEAR ...]]
[--mask MASK [MASK ...]] [--lmax LMAX]
[--mmax MMAX] [--love {0,1,2,3,4}]
[--reference {CF,CM,CE}]
[--format {ascii,netCDF4,HDF5}] [--verbose]
[--gzip] [--mode MODE]
Named Arguments
- --directory, -D
Working data directory
- --region, -R
Possible choices: gris, ais
Region of firn model to calculate
- --version, -v
Possible choices: v0, v1, v1.0, v1.1, v1.2, v1.2.1
Version of firn model to calculate
- --product, -P
MERRA-2 hybrid product to calculate
- --year, -Y
Years of model outputs to run
- --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
- --gzip, -G
netCDF4 file is locally gzip compressed
- --mode, -M
Permission mode of directories and files