libera_utils.metadata_writer.read_input_netcdf4_data_file#

libera_utils.metadata_writer.read_input_netcdf4_data_file(data_file_path: str | Path | S3Path) Dataset#

Read the input L1 or L2 data file and return its contents as an xarray Dataset

Parameters:

data_file_path (str | Path | S3Path) – Path to the NetCDF Libera data product file to read

Returns:

Contents of the data file as an xarray Dataset

Return type:

xr.Dataset