EC-Earth/cmor-fixer

`list-of-modified-files.txt` empty

Closed this issue · 2 comments

Not sure if I'm doing something wrong, but I have run the cmor-fixer with --olist a couple of times on different data and the list of modified files was each time empty. Example:

> cmor-fixer.py --verbose --olist --npp 6 --meta ~/Projects/cmor-fixer/metadata-correction-cases/covidmip-cmor-table-metadata-correction.json fossil/CMIP6/DAMIP/EC-Earth-Consortium/EC-Earth3/ssp245-cov-fossil
[...]
2020-12-08 16:21:59 INFO:cmor-fixer.py: Setting metadata field table_info to Creation Date:(18 November 2020) MD5:36f28a6dd43b853e01db17a5161de8f3 in fossil/CMIP6/DAMIP/EC-Earth-Consortium/EC-Earth3/ssp245-cov-fossil/r12i1p1f2/Lmon/mrso/gr/v20201104/mrso_Lmon_EC-Earth3_ssp245-cov-fossil_r12i1p1f2_gr_204701-204712.nc
2020-12-08 16:21:59 INFO:cmor-fixer.py: Setting tracking_id to hdl:21.14100/149ede57-dab2-4393-bdac-2f0c2408d37a for fossil/CMIP6/DAMIP/EC-Earth-Consortium/EC-Earth3/ssp245-cov-fossil/r12i1p1f2/Lmon/mrso/gr/v20201104/mrso_Lmon_EC-Earth3_ssp245-cov-fossil_r12i1p1f2_gr_204701-204712.nc
2020-12-08 16:21:59 INFO:cmor-fixer.py: Appending message about modification to the history attribute.
2020-12-08 16:21:59 INFO:cmor-fixer.py: The latest applied cmor-fixer version attribute is set to: v3.0
2020-12-08 16:21:59 INFO:cmor-fixer.py: Setting metadata field table_info to Creation Date:(18 November 2020) MD5:36f28a6dd43b853e01db17a5161de8f3 in fossil/CMIP6/DAMIP/EC-Earth-Consortium/EC-Earth3/ssp245-cov-fossil/r12i1p1f2/Lmon/mrso/gr/v20201104/mrso_Lmon_EC-Earth3_ssp245-cov-fossil_r12i1p1f2_gr_203201-203212.nc
2020-12-08 16:21:59 INFO:cmor-fixer.py: Setting tracking_id to hdl:21.14100/ec1b0411-0961-4702-a95d-b6af7c5c18fc for fossil/CMIP6/DAMIP/EC-Earth-Consortium/EC-Earth3/ssp245-cov-fossil/r12i1p1f2/Lmon/mrso/gr/v20201104/mrso_Lmon_EC-Earth3_ssp245-cov-fossil_r12i1p1f2_gr_203201-203212.nc
2020-12-08 16:21:59 INFO:cmor-fixer.py: Appending message about modification to the history attribute.
2020-12-08 16:21:59 INFO:cmor-fixer.py: The latest applied cmor-fixer version attribute is set to: v3.0

> ls -l list-of-modified-files.txt
-rw-r--r-- 1 sm_uflad covid19clim 0 Dec  8 16:04 list-of-modified-files.txt

I checked some example file before and after the cmor-fixer run and the metadata definitely differs.

It looks like that cmor-fixer does the correct job in fixing your metadata. I see you use --npp 6, with that this issue seems to duplicate issue #26.

So if you would use --npp 1 you will have the correct list-of-modified-files.txt I assume?

Okay, I see. Yes, it looks like the same, although I can't test right now (all metadata already fixed at the moment).

Closing the issue.