oceanval.add_gridded_comparison#
- oceanval.add_gridded_comparison(name=None, long_name=None, short_name=None, short_title=None, source=None, source_info=None, model_variable=None, obs_path=None, obs_variable=None, start=-1000, end=3000, vertical=False, climatology=None, obs_multiplier=1, obs_adder=0, thredds=False, file_check=True)#
Add a gridded comparison variable to the Validator
Parameters:
name (str): Name of the variable
long_name (str): Long name of the variable
short_name (str): Short name of the variable
short_title (str): Short title of the variable
source (str): Source of the variable
source_info (str): Source information of the variable
model_variable (str): Model variable name
obs_path (str): Directory or path of the observations
obs_variable (str): Observation variable name
start (int): Start depth of the variable
end (int): End depth of the variable
vertical (bool): Whether the variable is vertical
climatology (bool): Whether to use climatology
obs_multiplier (float): Multiplier for the observation
obs_adder (float): Adder for the observation
file_check (bool): Whether to check if the obs_path exists and variables are valid