ua-snap / cmip6-utils

Pipelines and utilites for working with CMIP6 data
0 stars 1 forks source link

Some error strings not separated by new line when printing to error file #11

Closed Joshdpaul closed 5 months ago

Joshdpaul commented 5 months ago

Issue found by @kylereilla while testing #10 :

          I can't figure out what is going on in my output file in my test error case, but one instance of this message not being separated with the newline as expected, and looks like
ERROR: Mismatch of indicator strings found between parameter: rx1day, filename: /import/beegfs/CMIP6/kmredilla/indicators/output/historical/rx1day/rx1day__historical_indicator.nc, and dataset variable: ERROR.ERROR: Expected indicator file /import/beegfs/CMIP6/kmredilla/indicators/output/ssp585/rx1day/rx1day__ssp585_indicator.nc not found.

instead of

ERROR: Mismatch of indicator strings found between parameter: rx1day, filename: /import/beegfs/CMIP6/kmredilla/indicators/output/historical/rx1day/rx1day__historical_indicator.nc, and dataset variable: ERROR.
ERROR: Expected indicator file /import/beegfs/CMIP6/kmredilla/indicators/output/ssp585/rx1day/rx1day__ssp585_indicator.nc not found.

Not sure what's going on and it's not a big thing, just wanted to point it out!

_Originally posted by @kyleredilla in https://github.com/ua-snap/cmip6-utils/pull/10#discussion_r1465769344_

Joshdpaul commented 5 months ago

closed by #17