CDAT / cdms

8 stars 10 forks source link

CDMS2 2.12 cdscan does not handle history well. #171

Open JimBiardCics opened 7 years ago

JimBiardCics commented 7 years ago

CDMS2 2.12 cdscan does not handle history well. It appends a message to a global history attribute taken from the input rather than prepending it. It also does not follow the 'standard' ISO8601 time format YYYY-mm-ddThh:mm:ssZ used by most other packages. It would be better to follow the form used by NCO and other packages and prepend new messages using a newline (\n) as the message delimiter. The history attribute written to the XML file generated by cdscan would then follow the form YYYY-mm-ddThh:mm:ssZ <cdscan message>\n<history from input>

dnadeau4 commented 7 years ago

Your really are into history these days...

JimBiardCics commented 7 years ago

Yep!

dnadeau4 commented 6 years ago

Can you send me the command?

JimBiardCics commented 6 years ago

If you look at the code I sent for issue #172, you'll find that the XML file generated by cdscan appends a string to the history attribute as I described above.