harmonic_operators.py

  • Performs basic operations on spherical harmonic files

Source code

Calling Sequence

usage: harmonic_operators.py [-h] --operation OPERATION [--lmax LMAX]
                             [--mmax MMAX] [--format FORMAT [FORMAT ...]]
                             [--date] [--verbose] [--mode MODE]
                             infiles [infiles ...] outfile

Positional Arguments

infiles

Input files

outfile

Output file

Named Arguments

--operation, -O

Possible choices: add, subtract, multiply, divide, mean, destripe, error, RMS

Operation to run

--lmax, -l

Maximum spherical harmonic degree

--mmax, -m

Maximum spherical harmonic order

--format, -F

Possible choices: ascii, netCDF4, HDF5, index-ascii, index-netCDF4, index-HDF5, IJ05-R2, W12a, SM09, Wu10, AW13-ICE6G, AW13-IJ05, Caron, ICE6G-D

Input and output data format

--date, -D

Input and output files have date information

--verbose, -V

Verbose output of processing run

--mode, -M

Permission mode of directories and files