vmf¶
VMF (Vienna Mapping Functions) tropospheric mapping downloader.
This submodule contains functionality to download Vienna Mapping Function
tropospheric mapping files. The download_vmf() function is the main
interface for retrieving VMF products for a UTC date range. Geodetic technique
and processing-mode selection are controlled with VmfTechnique and
VmfProcessing.
Functions¶
|
Download VMF troposphere mapping function files from Vienna. |
- download_vmf(start: datetime.datetime, end: datetime.datetime, *, technique: tudatpy.data_input.data_retrieval.media_corrections.vmf.vmf_downloader.VmfTechnique = VmfTechnique.GNSS, processing: tudatpy.data_input.data_retrieval.media_corrections.vmf.vmf_downloader.VmfProcessing = VmfProcessing.OPERATIONAL, directory: pathlib.Path | str = '~/.tudat/ancillary/vmf', day_padding: int = 1, stations_to_keep: Sequence[str] | None = None) tudatpy.data_input.data_retrieval.media_corrections._common.DownloadResult[source]¶
Download VMF troposphere mapping function files from Vienna.
Downloads daily VMF3 tropospheric mapping function coefficient files from the Vienna University of Technology server for each day in the given date range (plus optional padding days for interpolation continuity).
- Parameters:
start (datetime) – Start of the UTC date range (inclusive).
end (datetime) – End of the UTC date range (inclusive).
technique (VmfTechnique, default = VmfTechnique.GNSS) – Geodetic technique:
GNSS,VLBI,DORIS, orOPTICAL(SLR). Determines the station network and coefficient format.processing (VmfProcessing, default = VmfProcessing.OPERATIONAL) – Processing type:
OPERATIONAL(near-real-time),ERA_INTERIM(reanalysis, for historical studies), orFORECAST.directory (Path or str, default = "~/.tudat/ancillary/vmf") – Local storage directory (created if needed).
day_padding (int, default = 1) – Extra days to download before and after the range to ensure interpolation continuity at arc boundaries.
stations_to_keep (sequence of str, optional) – If provided, filter each downloaded VMF file to keep only lines for these station codes (case-insensitive, e.g.
["OPMT", "WTZR"]). This significantly reduces memory usage when loading VMF data into Tudat viaset_vmf_troposphere_data, especially for global GNSS networks with 300+ stations.
- Returns:
Result object with
downloaded,existing,failed, andall_filesattributes.- Return type:
Examples
>>> from datetime import datetime >>> from tudatpy.data_input.data_retrieval.media_corrections.vmf import ( ... download_vmf, VmfTechnique) >>> >>> # Download GNSS troposphere data (default) >>> result = download_vmf(datetime(2025, 3, 1), datetime(2025, 3, 7)) >>> >>> # Download only for specific stations >>> result = download_vmf( ... datetime(2025, 3, 1), datetime(2025, 3, 7), ... stations_to_keep=["OPMT", "WTZR", "HERS"] ... )
Classes¶
|
Geodetic technique for Vienna Mapping Function products. |
|
VMF processing type. |
- class VmfTechnique(*values)[source]¶
Bases:
EnumGeodetic technique for Vienna Mapping Function products.
Different techniques use different site networks and produce coefficient files with different column structures and station grids.
Members¶
- GNSS
GNSS station network coefficients (
.v3gr_g).- VLBI
VLBI station network coefficients (
.v3gr_r).- DORIS
DORIS station network coefficients (
.v3gr_d).- OPTICAL
Optical/SLR station network coefficients (
.vmf3o). Uses the VMF3o model with wavelength-dependent scaling.
- class VmfProcessing(*values)[source]¶
Bases:
EnumVMF processing type.
Members¶
- OPERATIONAL
Near-real-time operational processing (
OP). Lowest latency, uses operational NWP analysis fields.- ERA_INTERIM
ERA-Interim reanalysis processing (
EI). Higher consistency for long-term studies, available only for historical periods.- FORECAST
Forecast processing (
FC). Based on NWP forecast fields.