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

Metadata conversion and parser #172

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
### Summary of Issue:
### Expected behavior and actual behavior:
### Steps to reproduce the problem (should include model description file(s) or link to publi c repository):
### What is the changeset ID of the code, and the machine you are using:
### have you modified the code? If so, it must be committed and available for testing:
### Screen output or log file showing the error message and context:
17 changes: 17 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[ 50 character, one line summary ]

[ Description of the changes in this commit. It should be enough
information for someone not following this development to understand.
Lines should be wrapped at about 72 characters. ]

User interface changes?: [ No/Yes ]
[ If yes, describe what changed, and steps taken to ensure backward compatibilty ]

Fixes: [Github issue #s] And brief description of each issue.

Testing:
test removed:
unit tests:
system tests:
manual testing:

271 changes: 271 additions & 0 deletions doc/standard_names.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,271 @@
<standard_names name="CCPP Standard Name Library" version="1.0">
<section name="dimensions"
comment="Note that the cap generator can substitute x_begin:x_end for x_extent">
<standard_name name="horizontal_dimension"
long_name="Size horizontal dimension">
<type units="none">integer</type>
</standard_name>
<standard_name name="horizontal_loop_extent"
long_name="Number of items in horizontal dimension to use">
<type units="none">integer</type>
</standard_name>
<standard_name name="horizontal_loop_begin"
long_name="Beginning index of horizontal dimension to use">
<type units="none">integer</type>
</standard_name>
<standard_name name="horizontal_loop_end"
long_name="Ending index of horizontal dimension to use">
<type units="none">integer</type>
</standard_name>
<standard_name name="thread_block_number"
long_name="Number of current thread block">
<type units="none">integer</type>
</standard_name>
<standard_name name="thread_block_begin"
long_name="Beginning index of all thread blocks">
<type units="none">integer</type>
</standard_name>
<standard_name name="thread_block_end"
long_name="Ending index of all thread blocks">
<type units="none">integer</type>
</standard_name>
<standard_name name="vertical_layer_dimension"
long_name="number of vertical levels">
<type units="none">integer</type>
</standard_name>
<standard_name name="vertical_level_dimension"
long_name="number of vertical interfaces">
<type units="none">integer</type>
</standard_name>
</section>
<section name="constants">
<standard_name name="gas_constant_dry_air">
<type kind="kind_phys" units="J kg-1 K-1">real</type>
</standard_name>
<standard_name name="specific_heat_of_dry_air_at_constant_pressure">
<type kind="kind_phys" units="J kg-1 K-1">real</type>
</standard_name>
<standard_name name="latent_heat_of_vaporization_of_water_at_0c"
long_name="latent heat of vaporization of water at 0C">
<type kind="kind_phys" units="J kg-1">real</type>
</standard_name>
<standard_name name="density_of_liquid_water_at_0c"
long_name="density of liquid water at 0C">
<type kind="kind_phys" units="kg m-3">real</type>
</standard_name>
</section>
<section name="coordinates">
<standard_name name="latitude">
<type kind="kind_phys" units="radians">real</type>
</standard_name>
<standard_name name="longitude">
<type kind="kind_phys" units="radians">real</type>
</standard_name>
</section>
<section name="state_variables">
<standard_name name="surface_air_pressure">
<type kind="kind_phys" units="Pa">real</type>
</standard_name>
<standard_name name="dry_surface_pressure">
<type kind="kind_phys" units="Pa">real</type>
</standard_name>
<standard_name name="surface_geopotential">
<type kind="kind_phys" units="m2 s-2">real</type>
</standard_name>
<standard_name name="temperature">
<type kind="kind_phys" units="K">real</type>
</standard_name>
<standard_name name="eastward_wind"
long_name="Zonal wind">
<type kind="kind_phys" units="m s-1">real</type>
</standard_name>
<standard_name name="northward_wind"
long_name="Meridional wind">
<type kind="kind_phys" units="m s-1">real</type>
</standard_name>
<standard_name name="dry_static_energy_content_of_atmosphere_layer"
long_name="Dry static energy">
<type kind="kind_phys" units="J m-2">real</type>
</standard_name>
<standard_name name="lagrangian_tendency_of_air_pressure"
long_name="Vertical pressure velocity">
<type kind="kind_phys" units="Pa s-1">real</type>
</standard_name>
<standard_name name="air_pressure"
long_name="Midpoint air pressure">
<type kind="kind_phys" units="Pa">real</type>
</standard_name>
<standard_name name="air_pressure_of_dry_air"
long_name="Dry midpoint pressure">
<type kind="kind_phys" units="Pa">real</type>
</standard_name>
<standard_name name="pressure_thickness">
<type kind="kind_phys" units="Pa">real</type>
</standard_name>
<standard_name name="pressure_thickness_of_dry_air">
<type kind="kind_phys" units="Pa">real</type>
</standard_name>
<standard_name name="reciprocal_of_pressure_thickness">
<type kind="kind_phys" units="Pa-1">real</type>
</standard_name>
<standard_name name="reciprocal_of_pressure_thickness_of_dry_air">
<type kind="kind_phys" units="Pa-1">real</type>
</standard_name>
<standard_name name="natural_log_of_air_pressure">
<type kind="kind_phys" units="pmid">real</type>
</standard_name>
<standard_name name="log_of_air_pressure_of_dry_air">
<type kind="kind_phys" units="Pa">real</type>
</standard_name>
<standard_name name="inverse_exner_function_wrt_surface_pressure"
long_name="inverse exner function w.r.t. surface pressure, (ps/p)^(R/cp)">
<type kind="kind_phys" units="1">real</type>
</standard_name>
<standard_name name="geopotential_height_above_surface_at_midpoints">
<type kind="kind_phys" units="m">real</type>
</standard_name>
<standard_name name="constituent_mixing_ratio">
<type kind="kind_phys" units="kg/kg moist or dry air depending on type">real</type>
</standard_name>
<standard_name name="air_pressure_at_interface">
<type kind="kind_phys" units="Pa">real</type>
</standard_name>
<standard_name name="interface_pressure_dry">
<type kind="kind_phys" units="Pa">real</type>
</standard_name>
<standard_name name="ln_air_pressure_at_interface">
<type kind="kind_phys" units="ln(Pa)">real</type>
</standard_name>
<standard_name name="ln_interface_pressure_dry">
<type kind="kind_phys" units="ln(Pa)">real</type>
</standard_name>
<standard_name name="geopotential_height_above_surface_at_interfaces">
<type kind="kind_phys" units="m">real</type>
</standard_name>
<standard_name name="vertically_integrated_total_kinetic_and_static_energy_of_initial_state">
<type kind="kind_phys" units="J m-2">real</type>
</standard_name>
<standard_name name="vertically_integrated_total_kinetic_and_static_energy_of_current_state">
<type kind="kind_phys" units="J m-2">real</type>
</standard_name>
<standard_name name="vertically_integrated_total_water_of_initial_state">
<type kind="kind_phys" units="Pa s2 m-1">real</type>
</standard_name>
<standard_name name="vertically_integrated_total_water_of_new_state">
<type kind="kind_phys" units="Pa s2 m-1">real</type>
</standard_name>
<standard_name name="tendency_of_temperature"
long_name="Change in temperature from a parameterization">
<type kind="kind_phys" units="K s-1">real</type>
</standard_name>
<standard_name name="total_tendency_of_temperature"
long_name="Total change in temperature from a
physics suite">
<type kind="kind_phys" units="K s-1">real</type>
</standard_name>
<standard_name name="tendency_of_potential_temperature"
long_name="Change in potential temperature from a parameterization">
<type kind="kind_phys" units="K s-1">real</type>
</standard_name>
<standard_name name="total_tendency_of_potential_temperature">
<type kind="kind_phys" units="K s-1">real</type>
</standard_name>
<standard_name name="tendency_of_eastward_wind"
long_name="Change in zonal wind from a parameterization">
<type kind="kind_phys" units="m s-2">real</type>
</standard_name>
<standard_name name="total_tendency_of_eastward_wind">
<type kind="kind_phys" units="m s-2">real</type>
</standard_name>
<standard_name name="tendency_of_northward_wind"
long_name="Change in meridional from a parameterization">
<type kind="kind_phys" units="m s-2">real</type>
</standard_name>
<standard_name name="total_tendency_of_northward_wind">
<type kind="kind_phys" units="m s-2">real</type>
</standard_name>
<standard_name name="surface_energy_flux">
<type kind="kind_phys" units="W m-2">real</type>
</standard_name>
<standard_name name="cumulative_boundary_flux_of_total_energy">
<type kind="kind_phys" units="W m-2">real</type>
</standard_name>
<standard_name name="cumulative_boundary_flux_of_total_water">
<type kind="kind_phys" units="W m-2">real</type>
</standard_name>
<standard_name name="reference_pressure_at_sea_level"
long_name="reference pressure at sea level">
<type kind="kind_phys" units="mb">real</type>
</standard_name>
<standard_name name="exner_function"
long_name="exner function">
<type kind="kind_phys" units="none">real</type>
</standard_name>
<standard_name name="potential_temperature"
long_name="potential temperature">
<type kind="kind_phys" units="K">real</type>
</standard_name>
</section>
<section name="constituents">
<standard_name name="water_vapor_specific_humidity">
<type kind="kind_phys" units="kg kg-1">real</type>
</standard_name>
<standard_name name="cloud_liquid_water_mixing_ratio">
<type kind="kind_phys" units="kg kg-1">real</type>
</standard_name>
<standard_name name="rain_water_mixing_ratio">
<type kind="kind_phys" units="kg kg-1">real</type>
</standard_name>
<standard_name name="volume_mixing_ratio_ch4"
long_name="CH4 volume mixing ratio">
<type kind="kind_phys" units="kg kg-1">real</type>
</standard_name>
<standard_name name="volume_mixing_ratio_co"
long_name="CO volume mixing ratio">
<type kind="kind_phys" units="kg kg-1">real</type>
</standard_name>
<standard_name name="volume_mixing_ratio_co2"
long_name="CO2 volume mixing ratio">
<type kind="kind_phys" units="kg kg-1">real</type>
</standard_name>
<standard_name name="volume_mixing_ratio_ccl4"
long_name="CCL4 volume mixing ratio">
<type kind="kind_phys" units="kg kg-1">real</type>
</standard_name>
<standard_name name="volume_mixing_ratio_cfc11"
long_name="CFC11 volume mixing ratio">
<type kind="kind_phys" units="kg kg-1">real</type>
</standard_name>
<standard_name name="volume_mixing_ratio_cfc12"
long_name="CFC12 volume mixing ratio">
<type kind="kind_phys" units="kg kg-1">real</type>
</standard_name>
<standard_name name="volume_mixing_ratio_cfc113"
long_name="CFC113 volume mixing ratio">
<type kind="kind_phys" units="kg kg-1">real</type>
</standard_name>
<standard_name name="volume_mixing_ratio_cfc22"
long_name="CFC22 volume mixing ratio">
<type kind="kind_phys" units="kg kg-1">real</type>
</standard_name>
<standard_name name="volume_mixing_ratio_o2"
long_name="O2 volume mixing ratio">
<type kind="kind_phys" units="kg kg-1">real</type>
</standard_name>
<standard_name name="volume_mixing_ratio_n2o"
long_name="N2O volume mixing ratio">
<type kind="kind_phys" units="kg kg-1">real</type>
</standard_name>
</section>
<section name="standard_variables"
comment="Standard / required CCPP variables">
<standard_name name="ccpp_error_message"
long_name="Error message for error handling in CCPP">
<type kind="len=512" units="1">character</type>
</standard_name>
<standard_name name="ccpp_error_flag"
long_name="Error flag for error handling in CCPP">
<type kind="" units="1">integer</type>
</standard_name>
</section>
</standard_names>
Loading