def check_geophysical(self, dataset):
<EOL>results = []<EOL>for var in util.get_geophysical_variables(dataset):<EOL><INDENT>ncvar = dataset.variables[var]<EOL>test_ctx = TestCtx(BaseCheck.HIGH, '<STR_LIT>'.format(var))<EOL>test_ctx.assert_true(getattr(ncvar, '<STR_LIT>', '<STR_LIT>') != '<STR_LIT>', '<STR_LIT>')<EOL>test_ctx.assert_true(getattr(ncvar, '<STR_LIT>', '<STR_LIT>') != '<STR_LIT>', '<STR_LIT>')<EOL>coordinates = getattr(ncvar, '<STR_LIT>', '<STR_LIT>')<EOL>test_ctx.assert_true(coordinates != '<STR_LIT>', '<STR_LIT>')<EOL>results.append(test_ctx.to_result())<EOL>test_ctx = TestCtx(BaseCheck.MEDIUM, '<STR_LIT>'.format(var))<EOL>test_ctx.assert_true(getattr(ncvar, '<STR_LIT>', '<STR_LIT>') != '<STR_LIT>', '<STR_LIT>')<EOL>if not hasattr(ncvar, '<STR_LIT>'):<EOL><INDENT>test_ctx.assert_true(getattr(ncvar, '<STR_LIT>', '<STR_LIT>') != '<STR_LIT>', '<STR_LIT>')<EOL><DEDENT>self._check_min_max_range(ncvar, test_ctx)<EOL>grid_mapping = getattr(ncvar, '<STR_LIT>', '<STR_LIT>')<EOL>test_ctx.assert_true(grid_mapping != '<STR_LIT>', '<STR_LIT>')<EOL>if grid_mapping:<EOL><INDENT>test_ctx.assert_true(grid_mapping in dataset.variables, '<STR_LIT>')<EOL><DEDENT>test_ctx.assert_true(getattr(ncvar, '<STR_LIT:source>', '<STR_LIT>') != '<STR_LIT>', '<STR_LIT>')<EOL>test_ctx.assert_true(getattr(ncvar, '<STR_LIT>', '<STR_LIT>') != '<STR_LIT>', '<STR_LIT>')<EOL>test_ctx.assert_true(getattr(ncvar, '<STR_LIT>', '<STR_LIT>') != '<STR_LIT>', '<STR_LIT>')<EOL>ancillary_variables = getattr(ncvar, '<STR_LIT>', '<STR_LIT>')<EOL>if ancillary_variables:<EOL><INDENT>ancillary_variables = ancillary_variables.split('<STR_LIT:U+0020>')<EOL><DEDENT>all_variables = all([v in dataset.variables for v in ancillary_variables])<EOL>if ancillary_variables:<EOL><INDENT>test_ctx.assert_true(all_variables, '<STR_LIT>')<EOL><DEDENT>platform = getattr(ncvar, '<STR_LIT>', '<STR_LIT>')<EOL>if platform:<EOL><INDENT>test_ctx.assert_true(platform in dataset.variables, '<STR_LIT>')<EOL><DEDENT>instrument = getattr(ncvar, '<STR_LIT>', '<STR_LIT>')<EOL>if instrument:<EOL><INDENT>test_ctx.assert_true(instrument in dataset.variables, '<STR_LIT>')<EOL><DEDENT>if hasattr(ncvar, '<STR_LIT>'):<EOL><INDENT>test_ctx.assert_true(getattr(ncvar, '<STR_LIT>', '<STR_LIT>') != '<STR_LIT>', '<STR_LIT>')<EOL><DEDENT>results.append(test_ctx.to_result())<EOL><DEDENT>return results<EOL>
Check the geophysical variable attributes for 1.1 templates.

:param netCDF4.Dataset dataset: An open netCDF dataset

float geophysical_variable_1(time) ;//................................ This is an example of how each and every geophysical variable in the file should be represented. Replace the name of the variable("geophysical_variable_1") with a suitable name. Replace "float" by data type which is appropriate for the variable.
    geophysical_variable_1:long_name = "" ; //................... RECOMMENDED - Provide a descriptive, long name for this variable.
    geophysical_variable_1:standard_name = "" ; //............... REQUIRED    - If using a CF standard name and a suitable name exists in the CF standard name table.
    geophysical_variable_1:nodc_name = "" ; //................... RECOMMENDED - From the NODC variables vocabulary, if standard_name does not exist.
    geophysical_variable_1:units = "" ; //....................... REQUIRED    - Use UDUNITS compatible units.
    geophysical_variable_1:scale_factor = 0.0f ; //.............. REQUIRED if the data uses a scale_factor other than 1.The data type should be the data type of the variable.
    geophysical_variable_1:add_offset = 0.0f ; // ............... REQUIRED if the data uses an add_offset other than 0. The data type should be the data type of the variable.
    geophysical_variable_1:_FillValue = 0.0f ; //................ REQUIRED  if there could be missing values in the data.
    geophysical_variable_1:valid_min = 0.0f ; //................. RECOMMENDED - Replace with correct value.
    geophysical_variable_1:valid_max = 0.0f ; //................. RECOMMENDED - Replace with correct value.
    geophysical_variable_1:coordinates = "time lat lon z" ; //... REQUIRED    - Include the auxiliary coordinate variables and optionally coordinate variables in the list. The order itself does not matter. Also, note that whenever any auxiliary coordinate variable contains a missing value, all other coordinate, auxiliary coordinate and data values corresponding to that element should also contain missing values.
    geophysical_variable_1:grid_mapping = "crs" ; //............. RECOMMENDED - It is highly recommended that the data provider put the data in a well known geographic coordinate system and provide the details of the coordinate system.
    geophysical_variable_1:source = "" ; //...................... RECOMMENDED - The method of production of the original data
    geophysical_variable_1:references = "" ; //.................. RECOMMENDED - Published or web-based references that describe the data or methods used to produce it.
    geophysical_variable_1: cell_methods = "" ; // .............. RECOMMENDED - Use the coordinate variables to define the cell values (ex., "time: point lon: point lat: point z: point").
    geophysical_variable_1:ancillary_variables = "instrument_parameter_variable platform_variable boolean_flag_variable enumerated_flag_variable" ; //......... RECOMMENDED - Identify the variable name(s) of the flag(s) and other ancillary variables relevant to this variable.  Use a space-separated list.
    geophysical_variable_1:platform = "platform_variable" ; //... RECOMMENDED - Refers to name of variable containing information on the platform from which this variable was collected.
    geophysical_variable_1:instrument = "instrument_variable";//..RECOMMENDED - Refers to name of variable containing information on the instrument from which this variable was collected.
    geophysical_variable_1:comment = "" ; //..................... RECOMMENDED - Add useful, additional information here.