salem.open_metum_dataset
- salem.open_metum_dataset(file, pole_longitude=None, pole_latitude=None, central_rotated_longitude=0.0, **kwargs)[source]
Wrapper to Met Office Unified Model files (experimental)
This is needed because these files are a little messy.
- Parameters:
- filestr
the path to the MetUM file
- pole_longitude: optional
Pole longitude position, in unrotated degrees. Defaults to the one found in the file (if found) and errors otherwise.
- pole_latitude: optional
Pole latitude position, in unrotated degrees. Defaults to the one found in the file (if found) and errors otherwise.
- central_rotated_longitude: optional
Longitude rotation about the new pole, in degrees. Defaults to the one found in the file (if found) and 0 otherwise.
- **kwargsoptional
Additional arguments passed on to
xarray.open_dataset
.
- Returns:
- an xarray Dataset