Skip to content

Troubles with orphan_variables when running create_ping_files.py #14

@treerink

Description

@treerink

Hi Stephane,

I try to get create_ping_files.py running. I am only able to achieve this by commenting in dr2xml.py the following lines:

         if context in settings['orphan_variables'] and \
            v.label in settings['orphan_variables'][context] :
             lvars.append(v)

This is probably not the correct solution. I have no idea what the consequences are of this change? My goal is to use dr2xml for CMIP6 data requests. The modified create_ping_files.py which I am using can be found here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions