plots.identifiers
Attributes
Functions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Determine whether data is on a regular lat-lon grid. |
|
Get the best long name representing the variable in an xarray Dataset. |
Module Contents
- plots.identifiers.LATITUDE = ['latitude', 'lat']
- plots.identifiers.LONGITUDE = ['longitude', 'long', 'lon']
- plots.identifiers.TIME = ['time', 'valid_time', 't', 'date', 'dayofyear', 'month', 'year']
- plots.identifiers.U = ['u', 'U', '10u', 'u10', '100u', 'u100', 'eastward_wind', 'U component of wind',...
- plots.identifiers.UV_PAIRS
- plots.identifiers.V = ['v', 'V', '10v', 'v10', '100v', 'v100', 'northward_wind', 'V component of wind',...
- plots.identifiers.VARIABLE_NAME_PREFERENCE = ['long_name', 'standard_name', 'name', 'short_name']
- plots.identifiers.X = ['x', 'X', 'xc', 'projection_x_coordinate', 'longitude', 'long', 'lon']
- plots.identifiers.Y = ['y', 'Y', 'yc', 'projection_y_coordinate', 'latitude', 'lat']
- plots.identifiers.find(array, identity)
- plots.identifiers.find_latitude(array)
- plots.identifiers.find_longitude(array)
- plots.identifiers.find_time(array)
- plots.identifiers.find_u(array)
- plots.identifiers.find_uv_pair(array)
- plots.identifiers.find_v(array)
- plots.identifiers.find_x(array)
- plots.identifiers.find_y(array)
- plots.identifiers.is_regular_latlon(data)
Determine whether data is on a regular lat-lon grid.
- plots.identifiers.xarray_variable_name(dataset, element=None)
Get the best long name representing the variable in an xarray Dataset.
- Parameters:
dataarray (xarray.Dataset) – The Dataset from which to extract a variable name.
element (str, optional) – If passed, the variable name for the given element will be extracted.