Cfutil (compliance_checker.cfutil)
#
compliance_checker/cfutil.py
Functions
|
Helper function passed to netCDF4.Dataset.get_attributes_by_value Checks that attr_val exists, has the same type as attr_type, and is contained in value_set attr_val: The value of the attribute being checked attr_type: A type object that the attr_val is expected to have the same type as. If the type is not the same, a warning is issued and the code attempts to cast attr_val to the expected type. value_set: The set against which membership for attr_val is tested modifier_fn: A function to apply to attr_val prior to applying the set membership test. |
Returns a dictionary of coordinates mapped to their dimensions |
|
Returns a list of auxiliary coordinate variables |
|
|
Returns an axis_map dictionary that contains an axis key and the coordinate names as values. |
Returns a list of variables that define an axis of the dataset |
|
Returns a dictionary mapping a variable to its boundary variable. |
|
Returns a list of variable names for variables that represent cell boundaries through the bounds attribute |
|
Returns the variable describing climatology bounds if it exists. |
|
Returns a list of variable names that identify as coordinate variables. |
|
Returns a list of variables that are defined as flag variables |
|
Returns a list of variables that represent forecast reference time metadata. |
|
Returns a list of variable names for the variables detected as geophysical variables. |
|
Returns a list of grid mapping variables |
|
Returns a list of instrument variables |
|
|
Returns the first variable matching latitude |
Returns a list of all variables matching definitions for latitude |
|
|
Returns the variable for longitude |
Returns a list of all variables matching definitions for longitude |
|
Returns a list of platform variable NAMES |
|
Returns a list of NODC sea names |
|
Returns the likeliest variable to be the time coordinate variable |
|
Returns a list of variables describing the time coordinate |
|
Returns a list of variables defining true latitude. |
|
Returns a list of variables defining true longitude. |
|
|
Returns the name of the variable that defines the Z axis or height/depth |
|
Returns a list of all variables matching definitions for Z |
|
Returns a string describing the feature type for this variable |
|
Per Ch 9 of the CF spec, profiles are a part of the CF Discrete Sampling Geometries. |
|
Attempt to consolidate all of the disparate timeseries checks. |
|
Wrapper method. |
|
Wrapper method for checking if a variable is detected as a trajectory featureType. |
|
Wrapper method |
|
Returns True if the variable is a 2D Regular grid. |
|
Returns True if the variable is a 2D Regular grid that does not vary with time. |
|
Returns True if the variable is a 3D Regular grid. |
|
Returns True if the variable is a 2D Regular grid that does not vary with time. |
|
Returns true if the variable is a CF trajectory feature type |
|
Returns True if the variable is a coordinate variable that defines a compression scheme. |
|
Returns True if the variable is a coordinate variable |
Check if a data set is a valid representation of a ragged array structure. |
|
Returns True if the units for the associated standard name are dimensionless. |
|
|
Returns true if the dataset's variable is likely a geophysical variable |
|
Returns true if the feature-type of variable corresponds to a mapped grid type. |
|
Returns true if the variable is an incomplete multidimensional array representation of time series. |
|
Returns true if the variable is a orthogonal multidimensional array representation of time series. |
|
Returns true if the variable is a point feature type |
|
Returns true if the variable is a incomplete profile feature type |
|
Returns true if the variable is a orthogonal profile feature type |
|
Returns True if the feature-type of the variable corresponds to a reduced horizontal grid. |
|
Returns true if the variable is a single trajectory feature |
|
Returns true if the variable is a time series feature type. |
|
Returns true if the variable is a time-series profile incomplete depth and incomplete time. |
Returns true if the variable is a time-series profile that represents a multi station with orthogonal time only. |
|
|
Returns true if the variable is a time-series profile that represents multiple stations with orthogonal time and depth |
|
Returns true if the variable is a time-series profile with orthogonal depth only. |
Returns true if the variable is a time-series profile that represents a single station with orthogonal time only. |
|
|
Returns true if the variable is a time-series profile that represents a single station and each profile is the same length. |
|
Returns true if the variable is a trajectory profile with incomplete depths. |
|
Returns true if the variable is a trajectory profile with orthogonal depths. |
|
Returns true if the variable is unitless |
This method returns a boolean indicating whether the variable is a valid member of a contiguous ragged array representation or indexed ragged array representation of any of the three singular CF featureType types. |
|
|
Return True if a Unit representing the string units1 can be converted to a Unit representing the string units2, else False. |