lime_tbx.application.filedata.lglod module

This module contains the functionality that reads and writes LIME TBX simulations and comparisons from files that follow LIME_TBX’s extension of the GLOD format.

It exports the following functions:
  • write_obs

  • write_comparison

  • read_lglod_file - Read a LGLOD-formatted netCDF file.

lime_tbx.application.filedata.lglod.read_lglod_file(path: str, kernels_path: KernelsPath) LGLODData | LGLODComparisonData[source]

Read a LGLOD-formatted netCDF file.

Parameters:
  • path (str) – Path where the file is located

  • kernels_path (KernelsPath) – Information on the SPICE kernels paths.

Returns:

lglod – Data read from the netCDF file, either simulation or comparison data.

Return type:

LGLODData | LGLODComparisonData

lime_tbx.application.filedata.lglod.write_comparison(lglod: LGLODComparisonData, path: str, dt: datetime, kernels_path: KernelsPath)[source]
lime_tbx.application.filedata.lglod.write_obs(lglod: LGLODData, path: str, dt: datetime, inside_mpa_range: bool | List[bool])[source]