compute_geoid_grids.py

  • Computes geoid undulations from a gravity model

Source code

Calling Sequence

usage: compute_geoid_grids.py [-h] [--gravity GRAVITY] [--lmax LMAX]
                              [--tide {tide_free,mean_tide,zero_tide}]
                              [--radius RADIUS]
                              [--format {csv,netCDF4,HDF5,GTiff,cog}]
                              [--spacing SPACING [SPACING ...]]
                              [--bounds xmin xmax ymin ymax]
                              [--projection PROJECTION] [--verbose]
                              [--mode MODE]
                              outfile

Positional Arguments

outfile

Output file

Named Arguments

--gravity, -G

Gravity model file to use

--lmax, -l

Maximum spherical harmonic degree

--tide, -T

Tide system of output geoid

  • 'tide_free': no permanent direct and indirect tidal potentials

  • 'mean_tide': permanent tidal potentials (direct and indirect)

  • 'zero_tide': permanent direct tidal potential removed

--radius, -R

Gaussian smoothing radius (km)

--format, -F

Possible choices: csv, netCDF4, HDF5, GTiff, cog

Output data format

--spacing, -S

Output grid spacing

--bounds, -B

Output grid extents

--projection, -P

Spatial projection as EPSG code or PROJ4 string

  • 4326: latitude and longitude coordinates on WGS84 reference ellipsoid

--verbose, -V

Verbose output of run

--mode, -M

Permission mode of output file