orbitx.Matchups.to_netcdf

orbitx.Matchups.to_netcdf#

Matchups.to_netcdf(output_path: str) None[source]#

Exports a matchup object to a netcdf file

Saves the xarray.DataTree object containing the data about matchups and orbits. Such file can be loaded as a matchup object using the from_netcdf classmethod.

Parameters:

output_path (str) – The directory where the file should be created (make sure the directory already exists). The file name is generated automatically