def check_platform(self, dataset):
<EOL>platforms = util.get_platform_variables(dataset)<EOL>if not platforms:<EOL><INDENT>return Result(BaseCheck.MEDIUM,<EOL>False,<EOL>'<STR_LIT>',<EOL>['<STR_LIT>'])<EOL><DEDENT>results = []<EOL>for platform in platforms:<EOL><INDENT>test_ctx = TestCtx(BaseCheck.MEDIUM, '<STR_LIT>'.format(platform))<EOL>pvar = dataset.variables[platform]<EOL>test_ctx.assert_true(getattr(pvar, '<STR_LIT>', '<STR_LIT>') != '<STR_LIT>', '<STR_LIT>')<EOL>if hasattr(pvar, '<STR_LIT>'):<EOL><INDENT>test_ctx.assert_true(getattr(pvar, '<STR_LIT>', '<STR_LIT>') != '<STR_LIT>', '<STR_LIT>')<EOL><DEDENT>found_identifier = False<EOL>if hasattr(pvar, '<STR_LIT>'):<EOL><INDENT>test_ctx.assert_true(getattr(pvar, '<STR_LIT>', '<STR_LIT>') != '<STR_LIT>', '<STR_LIT>')<EOL>found_identifier = True<EOL><DEDENT>if hasattr(pvar, '<STR_LIT>'):<EOL><INDENT>test_ctx.assert_true(getattr(pvar, '<STR_LIT>', '<STR_LIT>') != '<STR_LIT>', '<STR_LIT>')<EOL>found_identifier = True<EOL><DEDENT>if hasattr(pvar, '<STR_LIT>'):<EOL><INDENT>test_ctx.assert_true(getattr(pvar, '<STR_LIT>', '<STR_LIT>') != '<STR_LIT>', '<STR_LIT>')<EOL>found_identifier = True<EOL><DEDENT>if hasattr(pvar, '<STR_LIT>'):<EOL><INDENT>test_ctx.assert_true(getattr(pvar, '<STR_LIT>', '<STR_LIT>') != '<STR_LIT>', '<STR_LIT>')<EOL>found_identifier = True<EOL><DEDENT>test_ctx.assert_true(found_identifier, '<STR_LIT>')<EOL>results.append(test_ctx.to_result())<EOL><DEDENT>return results<EOL>
int platform_variable; //............................................ RECOMMENDED - a container variable storing information about the platform. If more than one, can expand each attribute into a variable. For example, platform_call_sign and platform_nodc_code. See instrument_parameter_variable for an example.
        platform_variable:long_name = "" ; //........................ RECOMMENDED - Provide a descriptive, long name for this variable.
        platform_variable:comment = "" ; //.......................... RECOMMENDED - Add useful, additional information here.
        platform_variable:call_sign = "" ; //........................ RECOMMENDED - This attribute identifies the call sign of the platform.
        platform_variable:ncei_code = ""; //......................... RECOMMENDED - This attribute identifies the NCEI code of the platform. Look at http://www.nodc.noaa.gov/cgi-bin/OAS/prd/platform to find if NCEI codes are available.
        platform_variable:wmo_code = "";//........................... RECOMMENDED - This attribute identifies the wmo code of the platform. Information on getting WMO codes is available at http://www.wmo.int/pages/prog/amp/mmop/wmo-number-rules.html
        platform_variable:imo_code  = "";//.......................... RECOMMENDED - This attribute identifies the International Maritime Organization (IMO) number assigned by Lloyd's register.