Utilities for reading, writing and operating on spatial data
- Can read ascii, netCDF4, HDF5 or geotiff files
- Can output to ascii, netCDF4, HDF5 or geotiff files
Reading a netCDF4 file
import pyTMD.spatial
dinput = pyTMD.spatial.from_netCDF4(path_to_netCDF4_file)
Reading a HDF5 file
import pyTMD.spatial
dinput = pyTMD.spatial.from_HDF5(path_to_HDF5_file)
pyTMD.spatial.case_insensitive_filename
pyTMD.spatial.data_type
pyTMD.spatial.from_file
pyTMD.spatial.from_ascii
pyTMD.spatial.from_netCDF4
pyTMD.spatial.from_HDF5
pyTMD.spatial.from_geotiff
pyTMD.spatial.to_ascii
pyTMD.spatial.to_netCDF4
pyTMD.spatial._drift_netCDF4
pyTMD.spatial._grid_netCDF4
pyTMD.spatial._time_series_netCDF4
pyTMD.spatial.to_HDF5
pyTMD.spatial.to_geotiff
pyTMD.spatial.expand_dims
pyTMD.spatial.default_field_mapping
pyTMD.spatial.inverse_mapping
pyTMD.spatial.convert_ellipsoid
pyTMD.spatial.compute_delta_h
pyTMD.spatial.wrap_longitudes
pyTMD.spatial.to_cartesian
pyTMD.spatial.to_sphere
pyTMD.spatial.to_geodetic
pyTMD.spatial._moritz_iterative
pyTMD.spatial._bowring_iterative
pyTMD.spatial._zhu_closed_form
pyTMD.spatial.scale_factors