gldas_scaling_factors.py

  • Reads monthly GLDAS total water storage anomalies and monthly spherical harmonic coefficients [29]

  • Computes point scaling factors following Landerer and Swenson [14]

Source code

Calling Sequence

usage: gldas_scaling_factors.py [-h] [--directory DIRECTORY] [--start START]
                                [--end END] [--missing MISSING [MISSING ...]]
                                [--version VERSION] [--spacing {10,025}]
                                [--lmax LMAX] [--mmax MMAX] [--radius RADIUS]
                                [--destripe] [--love {0,1,2,3,4}]
                                [--reference {CF,CM,CE}]
                                [--format {ascii,netCDF4,HDF5}] [--verbose]
                                [--mode MODE]
                                {CLM,CLSM,MOS,NOAH,VIC} [{CLM,CLSM,MOS,NOAH,VIC} ...]

Positional Arguments

model

Possible choices: CLM, CLSM, MOS, NOAH, VIC

GLDAS land surface model

  • 'CLM': GLDAS Community Land Model

  • 'CLSM': GLDAS Catchment Land Surface Model

  • 'MOS': GLDAS Mosaic model

  • 'NOAH': GLDAS Noah model

  • 'VIC': GLDAS Variable Infiltration Capacity model

Named Arguments

--directory, -D

Working data directory

--start, -s

Starting GRACE/GRACE-FO month

--end, -e

Ending GRACE/GRACE-FO month

--missing, -o

Missing GRACE/GRACE-FO months

--version, -v

GLDAS model version

--spacing, -S

Possible choices: 10, 025

Spatial resolution of models to run

  • '10': 1.0 degrees latitude/longitude

  • '025': 0.25 degrees latitude/longitude

--lmax, -l

Maximum spherical harmonic degree

--mmax, -m

Maximum spherical harmonic order

--radius, -R

Gaussian smoothing radius (km)

--destripe, -d

Use decorrelation (destriping) filter

--love, -n

Possible choices: 0, 1, 2, 3, 4

Treatment of the Load Love numbers

  • 0: Han and Wahr (1995) values from PREM [8]

  • 1: Gegout (2005) values from PREM [6]

  • 2: Wang et al. (2012) values from PREM [30]

  • 3: Wang et al. (2012) values from PREM with hard sediment [30]

  • 4: Wang et al. (2012) values from PREM with soft sediment [30]

--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