Skip to content

Can I determine if Polytope supports an item selected via qubed? #11

@ciaransweet

Description

@ciaransweet

Hey folks, sorry if this isn't the place to ask!

The new updates are working great! I'm hitting some interesting errors when using earthkit.data.from_source, with Polytope requests made from qubed results.

# request code
data = earthkit.data.from_source(
            "polytope",
            "destination-earth",
            request=request,
            stream=False,
            address="polytope.lumi.apps.dte.destination-earth.eu",
        )

Example polytope request:

{'request': 'activity: scenariomip\n'
            'class: d1\n'
            'dataset: climate-dt\n'
            "date: '20200120'\n"
            'experiment: ssp3-7.0\n'
            "expver: '0001'\n"
            'feature:\n'
            '  shape:\n'
            '  - - 40\n'
            '    - -14\n'
            '  - - 40\n'
            '    - -10\n'
            '  - - 44\n'
            '    - -10\n'
            '  - - 44\n'
            '    - -14\n'
            '  - - 40\n'
            '    - -14\n'
            '  type: polygon\n'
            'generation: 1\n'
            'levtype: sfc\n'
            'model: ifs-fesom\n'
            'param: 34\n'
            'realization: 2\n'
            'resolution: high\n'
            'stream: clte\n'
            "time: '1200'\n"
            'type: fc\n',
 'verb': 'retrieve'}

But Polytope will give me:

Matched datasource polytope-climate

Polytope Feature Extraction Error: Data on this grid is not supported by Polytope.

Is there anything in the qubed data that would allude to this before I go and request the data? (Sorry, I'm not super familiar with this data, but I'd like to ensure we can stop requesting data we've drilled out of qubed if it's not supported by Polytope)

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