Skip to content

Some data providers encode var names and units in a format that Nappy doesn't parse #45

@LukeJones123

Description

@LukeJones123
  • roocs-utils version:
  • Python version:
  • Operating System:

Description

Some of the files in the NDACC database do not have variable name+units strings that conform to the expectations of Nappy. For example, some providers separate the two with a semicolon, e.g.

N2O vertical column amount; molecules/cm**2
HNO3 vertical column amount; molecules/cm**2
ClONO2 vertical column amount; molecules/cm**2
HCl vertical column amount; molecules/cm**2
HF vertical column amount; molecules/cm**2

This issue could be addressed by a more complicate regular expression, but others are more convoluted and regular expressions aren't enough. Thus would be good if a custom user callback function could be allowed to do the parsing.

What I Did

Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions