-
Notifications
You must be signed in to change notification settings - Fork 2
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
Feature/levels metadata #28
Conversation
… applicable, and dropped all but essential metadata between writing of globalised field data. Updated comments to suit.
…mension. Dropped zeroth level processing for JEDI-only output files. Const correctness in some Metadata functions.
…ant development code that was also causing an issue.
…fields appropriately. Changed position if LFRic and JEDI in eVariableConventions enum so that LFRic is at position 1 and can be used instead of bool, if necessary.
Failing on develop with LFRic-JEDI: Simplest test that is failing is the Summary of failure:
It seems that the |
Requires a small change in LFRic-JEDI to handle the new metadata |
…ced by MONIO were not interpretted as LFRic files.
…on' in Monio class.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks looks good. Haven't re-tested, but we've discussed previous issues and my understanding is that those are now fixed. Cheers
consts::kNamingConventions[consts::eJediNaming]; | ||
std::string variableConvention = | ||
isLfricConvention == true ? consts::kNamingConventions[consts::eLfricConvention] : | ||
consts::kNamingConventions[consts::eJediConvention]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indent slightly off compared to above line
@@ -373,7 +373,7 @@ void monio::Metadata::deleteVariable(const std::string& varName) { | |||
|
|||
void monio::Metadata::clear() { | |||
oops::Log::debug() << "Metadata::clear()" << std::endl; | |||
dimensions_.clear(); | |||
// dimensions_.clear(); // Dimensions are required for correct writing of subsequent variables. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be good to remove commented out code if it's not needed anymore
Addition of vertical meta/data to NetCDF files for outputs that adopt JEDI variable conventions.
This PR will be part of a coordinated merge with:
Test outputs (LFRic-Lite, LFRic-JEDI, & MONIO): http://fcm1/cylc-review/taskjobs/punderwo/?suite=levels_metadata_01