forked from NOAA-GFDL/CatalogBuilder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0a5ef33
commit add7502
Showing
1 changed file
with
41 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,41 @@ | ||
input_path: "/archive/am5/am5/am5f3b1r0/c96L65_am5f3b1r0_pdclim1850F/gfdl.ncrc5-deploy-prod-openmp/pp/" #"ENTER INPUT PATH HERE" #Example: /Users/ar46/archive/am5/am5/am5f3b1r0/c96L65_am5f3b1r0_pdclim1850F/gfdl.ncrc5-deploy-prod-openmp/pp/" | ||
output_path: "catalog" # ENTER NAME OF THE CSV AND JSON, THE SUFFIX ALONE. e.g catalog (the builder then generates catalog.csv and catalog.json. This can also be an absolute path) | ||
#what kind of directory structure to expect? | ||
#For a directory structure like /archive/am5/am5/am5f3b1r0/c96L65_am5f3b1r0_pdclim1850F/gfdl.ncrc5-deploy-prod-openmp/pp | ||
# the output_path_template is set as follows. | ||
#We have NA in those values that do not match up with any of the expected headerlist (CSV columns), otherwise we | ||
#simply specify the associated header name in the appropriate place. E.g. The third directory in the PP path example | ||
#above is the model (source_id), so the third list value in output_path_template is set to 'source_id'. We make sure | ||
#this is a valid value in headerlist as well. | ||
#The fourth directory is am5f3b1r0 which does not map to an existing header value. So we simply NA in output_path_template | ||
#for the fourth value. | ||
|
||
#catalog headers | ||
#The headerlist is expected column names in your catalog/csv file. This is usually determined by the users in conjuction | ||
#with the ESM collection specification standards and the appropriate workflows. | ||
|
||
headerlist: ["activity_id", "institution_id", "source_id", "experiment_id", | ||
"frequency", "realm", "table_id", | ||
"member_id", "grid_label", "variable_id", | ||
"time_range", "chunk_freq","platform","dimensions","cell_methods","standard_name","path"] | ||
|
||
#what kind of directory structure to expect? | ||
#For a directory structure like /archive/am5/am5/am5f3b1r0/c96L65_am5f3b1r0_pdclim1850F/gfdl.ncrc5-deploy-prod-openmp/pp | ||
# the output_path_template is set as follows. | ||
#We have NA in those values that do not match up with any of the expected headerlist (CSV columns), otherwise we | ||
#simply specify the associated header name in the appropriate place. E.g. The third directory in the PP path example | ||
#above is the model (source_id), so the third list value in output_path_template is set to 'source_id'. We make sure | ||
#this is a valid value in headerlist as well. | ||
#The fourth directory is am5f3b1r0 which does not map to an existing header value. So we simply NA in output_path_template | ||
#for the fourth value. | ||
|
||
output_path_template: ['NA','NA','source_id','NA','experiment_id','platform','custom_pp','realm','cell_methods','frequency','chunk_freq'] | ||
|
||
output_file_template: ['realm','time_range','variable_id'] | ||
|
||
#OUTPUT FILE INFO is currently passed as command-line argument. | ||
#We will revisit adding a csvfile, jsonfile and logfile configuration to the builder configuration file in the future. | ||
#csvfile = #jsonfile = #logfile = | ||
|
||
####################################################### | ||
|
||
input_path: "archive/am5/am5/am5f3b1r0/c96L65_am5f3b1r0_pdclim1850F/gfdl.ncrc5-deploy-prod-openmp/pp" | ||
output_path: "sample-mdtf-catalog" # ENTER NAME OF THE CSV AND JSON, THE SUFFIX ALONE. e.g catalog (the builder then generates catalog.csv and catalog.json. This can also be an absolute path) |