NCAR / CESM_postprocessing

Project repository for the CESM python based post-processing code, documentation and issues tracking.
77 stars 45 forks source link

Use xmlquery with postprocessing env files #219

Closed mnlevy1981 closed 4 years ago

mnlevy1981 commented 4 years ago

It would be really nice to be able to use xmlquery (and xmlchange) with the xml files in postprocessing/. I've tried two different ways, and they fail with different errors:

$ ./xmlquery --file postprocess/env_postprocess.xml TIMESERIES_INPUT_ROOTDIR
setting case file to postprocess/env_postprocess.xml
ERROR: No match found for file type config_definition
$ cd postprocess/
$ ../xmlquery --file env_postprocess.xml TIMESERIES_INPUT_ROOTDIR
ERROR: Makes no sense to have empty read-only file
bertinia commented 4 years ago

@mnlevy1981 - Does pp_config support what you need?

mnlevy1981 commented 4 years ago

@bertinia -- it does, thanks! (@sherimickelson pointed this out in the CSEG meeting, and I updated a related issue but forgot to come back and close this one)