Skip to content

[v2 harmony] query using only product, cycles, and tracks #694

@JessicaS11

Description

@JessicaS11
reg = ipx.Query(short_name,  cycles=['03','04','05','06','07'], tracks=['0849','0902'])
reg.avail_granules(ids=True)

Results in AttributeError: 'Spatial' object has no attribute '_ext_type'

The error is coming from within icepyx, but I'm not sure if it's a valid submission to Harmony without the spatial info (we'll have to chase all the uses of the spatial info through icepyx first). If it can be submitted to Harmony, then we need to address all the spatial errors in building CMRparams. If not, we'll need to reintroduce a check earlier on (e.g.

# Check necessary combination of input has been specified
        if (product is None or spatial_extent is None) or (
            (date_range is None and cycles is None and tracks is None)
            and int(product[-2:]) <= 13
        ):
            raise ValueError(
                "Please provide the required inputs. Use help([function]) to view the function's documentation"
            )

removed in #657

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