Skip to content

Edge case for names of variables #199

Open
@kmdeck

Description

@kmdeck

A variable name of the form "x_1m" e.g. will fail here:

julia> short_name = short_names[1]
"iwc_1m"

julia> var = get(simdir; short_name)
ERROR: Variable iwc_1m not found. Available: Set(Any["si", "et", "trans", "swc", "ct", "msf", "lwp", "swu", "swe", "iwc", "gpp", "lwu"])

even though the file (iwc_1m_1M_average.nc) is present. This may because the code assumes "_1m" refers to the time interval of a minute.

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