def get_dataset_parameters(self, raw_metadata): parameters = { "cmems_mod_ibi_phy_anfc_0.027deg-2D_PT15M-m/": ('sea_surface_height_above_geoid', 'eastward_sea_water_velocity', 'northward_sea_water_velocity'), "cmems_mod_ibi_phy_anfc_0.027deg-3D_P1D-m/": ('sea_water_potential_temperature', 'sea_water_salinity', 'eastward_sea_water_velocity', 'northward_sea_water_velocity', 'sea_surface_height_above_geoid', 'ocean_mixed_layer_thickness_defined_by_sigma_theta', 'sea_water_potential_temperature_at_sea_floor'), "cmems_mod_ibi_phy_anfc_0.027deg-2D_PT1H-m/": ('sea_water_potential_temperature', 'eastward_sea_water_velocity', 'northward_sea_water_velocity', 'barotropic_eastward_sea_water_velocity', 'barotropic_northward_sea_water_velocity', 'sea_surface_height_above_geoid', 'ocean_mixed_layer_thickness_defined_by_sigma_theta'), "cmems_mod_ibi_phy_anfc_0.027deg-3D_PT1H-m/": ('sea_water_potential_temperature', 'sea_water_salinity', 'eastward_sea_water_velocity', 'northward_sea_water_velocity'), "cmems_mod_ibi_phy_anfc_0.027deg-3D_P1M-m/": ('sea_water_potential_temperature', 'sea_water_salinity', 'eastward_sea_water_velocity', 'northward_sea_water_velocity', 'sea_surface_height_above_geoid', 'ocean_mixed_layer_thickness_defined_by_sigma_theta', 'sea_water_potential_temperature_at_sea_floor') } for prefix, parameter_list in parameters.items(): if raw_metadata['url'].startswith(f"{self.url_prefix}/{prefix}"): return utils.create_parameter_list(parameter_list) return []
def get_dataset_parameters(self, raw_metadata): parameters = { "med-cmcc-cur": ( 'eastward_sea_water_velocity', 'northward_sea_water_velocity', ), "med-cmcc-mld": ('ocean_mixed_layer_thickness_defined_by_sigma_theta', ), "med-cmcc-sal": ('sea_water_salinity', ), "med-cmcc-ssh": ('sea_surface_height_above_geoid', ), "med-cmcc-tem": ('sea_water_potential_temperature_at_sea_floor', 'sea_water_potential_temperature'), "MEDSEA_ANALYSISFORECAST_PHY_006_013-statics/MED-MFC_006_013_mask_bathy.nc": ('model_level_number_at_sea_floor', 'sea_binary_mask', 'sea_floor_depth_below_geoid'), "MEDSEA_ANALYSISFORECAST_PHY_006_013-statics/MED-MFC_006_013_coordinates.nc": ('cell_thickness', ), "MEDSEA_ANALYSISFORECAST_PHY_006_013-statics/MED-MFC_006_013_mdt.nc": ('sea_surface_height_above_geoid', ) } for prefix, parameter_list in parameters.items(): if raw_metadata['url'].startswith(f"{self.url_prefix}/{prefix}"): return utils.create_parameter_list(parameter_list) return []
def get_dataset_parameters(self, raw_metadata): return utils.create_parameter_list(( 'wind_speed', 'atmosphere_mass_content_of_water_vapor', 'atmosphere_mass_content_of_cloud_liquid_water', 'rainfall_rate' ))
def get_dataset_parameters(self, raw_metadata): # based on "http://nrt.cmems-du.eu/motu-web/Motu?action=describeProduct # &service=SEALEVEL_GLO_PHY_L4_NRT_OBSERVATIONS_008_046-TDS" return utils.create_parameter_list(( 'sea_surface_height_above_geoid', 'sea_surface_height_above_sea_level', 'surface_geostrophic_eastward_sea_water_velocity', 'surface_geostrophic_eastward_sea_water_velocity_assuming_mean_sea_level_for_geoid', 'surface_geostrophic_northward_sea_water_velocity', 'surface_geostrophic_northward_sea_water_velocity_assuming_mean_sea_level_for_geoid' ))
def get_dataset_parameters(self, raw_metadata): # based on "http://nrt.cmems-du.eu/motu-web/Motu? # action=describeProduct&service=GLOBAL_ANALYSIS_FORECAST_PHY_001_024-TDS" return utils.create_parameter_list( ('sea_water_potential_temperature_at_sea_floor', 'ocean_mixed_layer_thickness_defined_by_sigma_theta', 'sea_ice_area_fraction', 'sea_ice_thickness', 'sea_water_salinity', 'sea_water_potential_temperature', 'eastward_sea_water_velocity', 'eastward_sea_ice_velocity', 'northward_sea_water_velocity', 'northward_sea_ice_velocity', 'sea_surface_height_above_geoid'))
def get_dataset_parameters(self, raw_metadata): url = raw_metadata['url'] parameters = [] if 'rtofs_glo_2ds_' in url: if 'diag' in url: parameters = [ 'sea_surface_height_above_geoid', 'barotropic_eastward_sea_water_velocity', 'barotropic_northward_sea_water_velocity', 'surface_boundary_layer_thickness', 'ocean_mixed_layer_thickness' ] elif 'prog' in url: parameters = [ 'eastward_sea_water_velocity', 'northward_sea_water_velocity', 'sea_surface_temperature', 'sea_surface_salinity', 'sea_water_potential_density' ] elif 'ice' in url: parameters = [ 'ice_coverage', 'ice_temperature', 'ice_thickness', 'ice_uvelocity', 'icd_vvelocity', ] elif 'rtofs_glo_3dz_' in url: parameters = [ 'eastward_sea_water_velocity', 'northward_sea_water_velocity', 'sea_surface_temperature', 'sea_surface_salinity', ] return utils.create_parameter_list(parameters)
def get_dataset_parameters(self, raw_metadata): return utils.create_parameter_list( ('sea_water_salinity', 'sea_water_temperature', 'sea_water_salinity_at_bottom', 'sea_water_temperature_at_bottom', 'sea_surface_height_above_geoid', 'eastward_sea_water_velocity', 'northward_sea_water_velocity'))
def get_dataset_parameters(self, raw_metadata): # based on "http://nrt.cmems-du.eu/motu-web/Motu? # action=describeProduct&service=MULTIOBS_GLO_PHY_NRT_015_003-TDS" return utils.create_parameter_list( ('eastward_sea_water_velocity', 'northward_sea_water_velocity'))
def get_dataset_parameters(self, raw_metadata): return utils.create_parameter_list(('sea_surface_temperature',))