NCAR / ADF

A unified collection of python scripts used to generate standard plots from CAM outputs.
Creative Commons Attribution 4.0 International
34 stars 29 forks source link

Tape Recorder plots failing after recent history string update #315

Closed justin-richling closed 1 month ago

justin-richling commented 1 month ago

ADF run type

Model vs. Model

What happened?

After PR #310 the Tape Recorder plots are failing due to incorrect ADF object history string returns.

File "/glade/work/richling/ADF/ADF/lib/../scripts/plotting/tape_recorder.py", line 40, in tape_recorder
    hist_str = adfobj.hist_string
  File "/glade/work/richling/ADF/ADF/lib/adf_info.py", line 636, in hist_string
    return self.__hist_str
AttributeError: 'AdfDiag' object has no attribute '_AdfInfo__hist_str'

ADF Hash you are using

c715fc11

What machine were you running the ADF on?

CISL machine

What python environment were you using?

NPL (CISL machines only)

Extra info

I have a fix, will create PR