-
Notifications
You must be signed in to change notification settings - Fork 25
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
Degeneracy in variable name #330
Comments
Here are some examples of the four different
The latter two are restart files, though it's a bit odd one is in the The first two are a bit of a mystery. Was there a code update for the https://github.com/hakaseh/1deg_jra55_iaf/blob/iamip2-his/manifests/exe.yaml#L15 The query for this: select variables.id, variables.name, experiment, root_dir, ncfile
from experiments
join ncfiles on experiments.id = ncfiles.experiment_id
join ncvars on ncvars.ncfile_id = ncfiles.id
join variables on ncvars.variable_id = variables.id
where variables.name = 'zoo'; |
@aekiss should potential temperature and conservative temperature have different variable names? Or are they the same at the surface? 792|surface_temp|Conservative temperature|sea_surface_conservative_temperature|K
1453|surface_temp|Conservative temperature||deg_C
1618|surface_temp|Potential temperature|sea_surface_temperature|degrees K |
Potential and conservative temperature are different at the surface, so yes they should have distinct names. |
Just talked to Andrew, and apparently with MOM you can choose to have potential or conservative temperature as the prognostic variable, but the actual variable name does not change, though the long name will differ. This is unfortunate for people who want to create databases mapping variable names to long names, standard names and units. This means such look up tables have to be experiment specific AFAICT. Doh. |
I agree that it is odd that
I didn't remember changing the longnames, but looking at the commit history, it looks like they were added by @aekiss: hakaseh/1deg_jra55_iaf@7deb65a
|
While looking for a mapping from variable name to
long_name
,standard_name
andunits
there are some troubling inconsistenciesACCESS-NRI/experiment-metadb#3 (comment)
The
variables
table in the database has the following schemaArguably this should also have an index columns for
model
andrealm
in case of variable name clashes between sub-models and models. In the original conception of the database it was only storing COSIMA data, so the same model and AFAIK there were no variable name overlaps between CICE and MOM5.However if there are any other experiment types stored in the DB it may lead to more possibility of variable name clashes.
If you look for instances of multiple variable names with different definitions there are some troubling examples
So
vh
is defined with slightly different long names!? How does that happen?There are four different distinct versions of
zoo
(zooplankton) variables? How does this happen?The text was updated successfully, but these errors were encountered: