...
Config files
YAML file format
YAML file format to be finally accepted.
Code Block | ||
---|---|---|
| ||
# any comments can be put here (manually!!!) .... e.g.: ############################################### ### ITRFASTIONS. ### ############################################### - name: ITRFASTIONS overview: Short description of variable obsolete: false specification: name_list: NLIST3 model: "" tab: "" data: !<array> meta_type: array type: integer default_value: "" info: link: http://documentation.server/link/to/documentation/page description: ' Weiland model switches' |
...
- Working ('dirty') mechanism for conversion of configs prepared (can be extracted)
- Every time 'old' config file is read, the new one is saved
- Files saved to
"jams/v210321_gateway_v5/java/lib/jet/misc/extranamelist/resources/" + config_name + ".yaml"
- What should be an 'final' destination for them?
...
Settings
File format
Code Block |
---|
OutputExtraNamelist.selItems.cell[0][0] : EUP OutputExtraNamelist.selItems.cell[0][1] : 1 OutputExtraNamelist.selItems.cell[0][2] : 2.5 ... OutputExtraNamelist.selItems.columns : 3 OutputExtraNamelist.selItems.rows : 17 OutputExtraNamelist.select : true |
...
- Can
updateNamelist
method be unified somehow? Lots of IFs....
Tests
- No guarantee that ALL use cases ill be covered
- A person that could check use-cases and compare outputs
Installation
PREPARE ENVIRONMENT
...
Code Block | ||
---|---|---|
| ||
module use /pfs/work/g2fkoech/jintrac/v210321_gateway_v5/modules
module load jintrac/gateway.gfortran
cd ~/work/cmg/jams
jams-test/java/sh/jams |
...