Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STASH Code to CF name translations: inconsistent names #58

Open
ehogan opened this issue Mar 18, 2015 · 2 comments
Open

STASH Code to CF name translations: inconsistent names #58

ehogan opened this issue Mar 18, 2015 · 2 comments

Comments

@ehogan
Copy link

ehogan commented Mar 18, 2015

Here is a copy of my upload file:
|STASH(msi)|CFName|units|force_update(y/n)|
|m01s00i023|surface_snow_amount_where_land|kg m-2|n|
|m01s00i024|sea_surface_temperature|K|n|
|m01s00i059|tendency_of_atmosphere_mass_content_of_dimethyl_sulfide_due_to_emission|kg m-2 s-1|n|
|m01s00i129|tendency_of_atmosphere_mass_content_of_black_carbon_dry_aerosol_due_to_emission|kg m-2 s-1|n|
|m01s00i211|convective_cloud_area_fraction|1|n|
|m01s00i265|cloud_area_fraction|1|n|
|m01s02i207|surface_downwelling_longwave_flux_in_air|W m-2|n|
|m01s02i208|surface_downwelling_longwave_flux_in_air_assuming_clear_sky|W m-2|n|
|m01s03i223|water_evaporation_flux|kg m-2 s-1|n|
|m01s03i293|heterotrophic_respiration_carbon_flux|kg m-2 s-1|n|
|m01s03i297|water_evaporation_flux_from_canopy|kg m-2 s-1|n|
|m01s04i204|large_scale_snowfall_flux|kg m-2 s-1|n|
|m01s05i205|convective_rainfall_flux|kg m-2 s-1|n|
|m01s08i023|surface_snow_amount_where_land|kg m-2|n|
|m01s30i451|tropopause_pressure|Pa|n|
|m02s00i137|ocean_mixed_layer_thickness_defined_by_mixing_scheme|m|n|
|m02s00i186|water_flux_correction_where_ocean|kg m-2 s-1|n|

Here is the responce:
The file failed to parse; in order to process this file you should consider:
line1: forcing replacement of m01s00i023 -> snowfall_amount(kg m-2) with m01s00i023 -> surface_snow_amount_where_land(kg m-2)
line2: forcing replacement of m01s00i024 -> surface_temperature(K) with m01s00i024 -> sea_surface_temperature(K)
line3: forcing replacement of m01s00i059 -> tendency_of_atmosphere_mass_content_of_dimethyl_sulfide_expressed_as_sulfur_due_to_emission(kg/m2/s) with m01s00i059 -> tendency_of_atmosphere_mass_content_of_dimethyl_sulfide_due_to_emission(kg m-2 s-1)
line4: forcing replacement of m01s00i129 -> tendency_of_atmosphere_mass_content_of_black_carbon_dry_aerosol_due_to_high_level_emission(kg/m2/s) with m01s00i129 -> tendency_of_atmosphere_mass_content_of_black_carbon_dry_aerosol_due_to_emission(kg m-2 s-1)
line5: forcing replacement of m01s00i211 -> Convective cloud amount with anvil(1) with m01s00i211 -> convective_cloud_area_fraction(1)
line6: forcing replacement of m01s00i265 -> cloud_area_fraction_in_atmosphere_layer(1) with m01s00i265 -> cloud_area_fraction(1)
line7: forcing replacement of m01s02i207 -> surface_downwelling_longwave_flux(W m-2) with m01s02i207 -> surface_downwelling_longwave_flux_in_air(W m-2)
line8: forcing replacement of m01s02i208 -> surface_downwelling_longwave_flux_assuming_clear_sky(W m-2) with m01s02i208 -> surface_downwelling_longwave_flux_in_air_assuming_clear_sky(W m-2)
line9: forcing replacement of m01s03i223 -> surface_upward_water_flux(kg m-2 s-1) with m01s03i223 -> water_evaporation_flux(kg m-2 s-1)
line10: forcing replacement of m01s03i293 -> soil_respiration_carbon_flux(kg/m^2/s) with m01s03i293 -> heterotrophic_respiration_carbon_flux(kg m-2 s-1)
line11: forcing replacement of m01s03i297 -> Evaporation from canopy(kg/m^2/s) with m01s03i297 -> water_evaporation_flux_from_canopy(kg m-2 s-1)
line12: forcing replacement of m01s04i204 -> stratiform_snowfall_rate(kg m-2 s-1) with m01s04i204 -> large_scale_snowfall_flux(kg m-2 s-1)
line13: forcing replacement of m01s05i205 -> convective_rainfall_rate(kg m-2 s-1) with m01s05i205 -> convective_rainfall_flux(kg m-2 s-1)
line14: forcing replacement of m01s08i023 -> surface_snow_amount(kg m-2) with m01s08i023 -> surface_snow_amount_where_land(kg m-2)
line15: forcing replacement of m01s30i451 -> tropopause_air_pressure(Pa) with m01s30i451 -> tropopause_pressure(Pa)
line16: forcing replacement of m02s00i137 -> ocean_mixed_layer_thickness(m) with m02s00i137 -> ocean_mixed_layer_thickness_defined_by_mixing_scheme(m)
line17: forcing replacement of m02s00i186 -> water_flux_correction(kg m-2 s-1) with m02s00i186 -> water_flux_correction_where_ocean(kg m-2 s-1)

The units are consistent (although there are some differences in the formatting*), but the names are inconsistent.

*I personally find kg m-2 s-1 more readble than kg/m^2/s :)

@marqh
Copy link
Member

marqh commented Feb 18, 2016

|STASH(msi)|CFName|units|force_update(y/n)|
|m01s00i023|surface_snow_amount_where_land|kg m-2|n|
http:https://reference.metoffice.gov.uk/um/stash/m01s00i023 the STASH name supports this change
|m01s00i024|sea_surface_temperature|K|n|
http:https://reference.metoffice.gov.uk/um/stash/m01s00i024 has no mention of sea within the STASH record
|m01s00i059|tendency_of_atmosphere_mass_content_of_dimethyl_sulfide_due_to_emission|kg m-2 s-1|n|
http:https://reference.metoffice.gov.uk/um/stash/m01s00i059 I think the 'expressed as sulphide' is important here
|m01s00i129|tendency_of_atmosphere_mass_content_of_black_carbon_dry_aerosol_due_to_emission|kg m-2 s-1|n|
http:https://reference.metoffice.gov.uk/um/stash/m01s00i129 this is a long name, and the high lev is in the stash title, so I'm not sure we should put this update in
|m01s00i211|convective_cloud_area_fraction|1|n|
http:https://reference.metoffice.gov.uk/um/stash/m01s00i211 i really don't know about this one
|m01s00i265|cloud_area_fraction|1|n|
http:https://reference.metoffice.gov.uk/um/stash/m01s00i265 suggest the 'in each layer' is important
|m01s02i207|surface_downwelling_longwave_flux_in_air|W m-2|n|
http:https://reference.metoffice.gov.uk/um/stash/m01s02i207 this is definitely an improvement
|m01s02i208|surface_downwelling_longwave_flux_in_air_assuming_clear_sky|W m-2|n|
http:https://reference.metoffice.gov.uk/um/stash/m01s02i208 this is definitely an improvement
|m01s03i223|water_evaporation_flux|kg m-2 s-1|n|
http:https://reference.metoffice.gov.uk/um/stash/m01s03i223 seems to point to surface water upward flux, from my reading
|m01s03i293|heterotrophic_respiration_carbon_flux|kg m-2 s-1|n|
http:https://reference.metoffice.gov.uk/um/stash/m01s03i293 doesn't give me enough clues to judge
|m01s03i297|water_evaporation_flux_from_canopy|kg m-2 s-1|n|
http:https://reference.metoffice.gov.uk/um/stash/m01s03i297 suggests this change is correct
|m01s04i204|large_scale_snowfall_flux|kg m-2 s-1|n|
http:https://reference.metoffice.gov.uk/um/stash/m01s04i204 has a name 'large scale snowfall rate', but rate in CF terms is expected to be in m s-1, so I'm fairly confident the term 'flux' is correct to use here
|m01s05i205|convective_rainfall_flux|kg m-2 s-1|n|
http:https://reference.metoffice.gov.uk/um/stash/m01s05i205 has a name 'convective rainfall rate', but rate in CF terms is expected to be in m s-1, so I'm fairly confident the term 'flux' is correct to use here
|m01s08i023|surface_snow_amount_where_land|kg m-2|n|
http:https://reference.metoffice.gov.uk/um/stash/m01s08i023 has a grid code 1 suggesting it is provided at all atmosphere points. I think a little more evidence that this is only on land is needed
|m01s30i451|tropopause_pressure|Pa|n|
http:https://reference.metoffice.gov.uk/um/stash/m01s30i451 is an atmosphere STASH code, so i think the 'tropopause_air_pressure' is valid
|m02s00i137|ocean_mixed_layer_thickness_defined_by_mixing_scheme|m|n|
http:https://reference.metoffice.gov.uk/um/stash/m02s00i137 I don't understand the difference between these two standard names
|m02s00i186|water_flux_correction_where_ocean|kg m-2 s-1|n|
http:https://reference.metoffice.gov.uk/um/stash/m02s00i186 has a grid code of 36, which is unspecified in C4. How may we confirm that this diagnostic is indeed only 'where_ocean'?

@marqh
Copy link
Member

marqh commented Feb 18, 2016

I would support an upload as below. The remaining entries should include a little more evidence before we adopt them

|STASH(msi)|CFName|units|force_update(y/n)|
|m01s00i023|surface_snow_amount_where_land|kg m-2|y|
|m01s02i207|surface_downwelling_longwave_flux_in_air|W m-2|y|
|m01s02i208|surface_downwelling_longwave_flux_in_air_assuming_clear_sky|W m-2|y|
|m01s03i297|water_evaporation_flux_from_canopy|kg m-2 s-1|y|
|m01s04i204|large_scale_snowfall_flux|kg m-2 s-1|y|
|m01s05i205|convective_rainfall_flux|kg m-2 s-1|y|

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants