Exorad

Convert data

We can convert exorad outputs using

cubedsphere.exorad.exorad_postprocessing(ds, outdir=None, datafile=None, convert_to_bar=True, convert_to_days=True)[source]

Preliminaray postprocessing on exorad dataset. This function converts the vertical windspeed from Pa into meters and saves attributes to the dataset.

Parameters
ds: Dataset

dataset to be extended

outdir: string

directory in which to find the data file (following the convention f’{outdir}/data’)

datafile: string

alternatively specify datafile directly

convert_to_bar: (Optional) bool

convert vertical pressure dimension to bar

convert_to_days: (Optional) bool

convert time dimension to days

Returns
ds:

Dataset to be returned