-
Notifications
You must be signed in to change notification settings - Fork 376
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EAMxx: reorg query-cf-database utility
* Moved to its own folder * Do not add scripts subdir when building EAMxx * Move data/*yaml in query-cf-database folder
- Loading branch information
Showing
7 changed files
with
5 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,7 +80,7 @@ This tool is not used in our core testing tools and goes through long periods of | |
(IE there are no active ongoing porting efforts). It is likely this tool will not work exactly as expected if it | ||
has not been run in a while or is being used on a package on which it has not been used before. | ||
|
||
## cf-xml-to-yaml | ||
## query-cf-database/cf-xml-to-yaml | ||
|
||
Given an XML file containing the CF conventions for standardized field names | ||
(https://cfconventions.org/standard-names.html), this tool generates a YAML | ||
Check failure on line 86 in components/eamxx/scripts/README.md GitHub Actions / linterBare URL used
|
||
|
7 changes: 4 additions & 3 deletions
7
components/eamxx/scripts/CMakeLists.txt → .../scripts/query-cf-database/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
# Generate the source file for the CF validator and build it. | ||
# Build the CF validator tool | ||
|
||
set (CF_STANDARD_NAME_FILE "${PROJECT_SOURCE_DIR}/data/cf-standard-name-table.yaml" | ||
set (CF_STANDARD_NAME_FILE "${CMAKE_CURRENT_SOURCE_DIR}/cf-standard-name-table.yaml" | ||
CACHE STRING "Location of the cf standard name yaml table") | ||
set (CF_SCREAM_NAME_FILE "${PROJECT_SOURCE_DIR}/data/cf-scream-name-table.yaml" | ||
set (CF_SCREAM_NAME_FILE "${CMAKE_CURRENT_SOURCE_DIR}/cf-scream-name-table.yaml" | ||
CACHE STRING "Location of the scream-specific cf name yaml table") | ||
|
||
add_executable(query-cf-database query-cf-database.cpp) | ||
target_compile_definitions(query-cf-database PUBLIC | ||
CF_STANDARD_NAME_FILE=${CF_STANDARD_NAME_FILE} | ||
CF_SCREAM_NAME_FILE=${CF_SCREAM_NAME_FILE}) | ||
|
||
find_package (ekat HINTS ${EKAT_ROOT}) | ||
find_package (yaml-cpp HINTS ${YAML_CPP_ROOT}) | ||
target_link_libraries(query-cf-database ekat yaml-cpp) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.