Skip to content

update default_diagnostics.py? #355

Description

@mjlosch

I am not sure how useful this is, but I'd like to update the list in default_diagnostics.py. Currently, it contains the content of available_diagnostic.log of an LL90 run at some point, so it cannot be complete. I am at least as lazy as everyone else, so I don't want to generate the list of diagnostics "by hand". Instead, I suggest to use something like this in MITgcm/verification (after running testreport):

cat */*run*/available_diagnostics.log | awk -F'|' '!seen[$2]++' | sort -u -t "|" -k 2

(ChatGPT gave me the awk command ). This gives an alphabetical list of all diagnostics in the verification experiments, approximately 1136. default_diagnostics.py has about 311 lines. It would probably be slower to parse the longer list, also the long list is not in any order that MITgcm users are used to and the numbering no is correct.

Does this make sense at all?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions