Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

job result named "timeseries", but there is no time dimension #919

Open
soxofaan opened this issue Oct 24, 2024 · 0 comments
Open

job result named "timeseries", but there is no time dimension #919

soxofaan opened this issue Oct 24, 2024 · 0 comments

Comments

@soxofaan
Copy link
Member

side-track from https://github.com/eu-cdse/openeo-cdse-infra/issues/295

I was downloading job results from a job that eliminated the time dimension, but asset file name was still "timeseries.parquet"

cube = connection.load_collection(
    "COPERNICUS_30",
    bands=["DEM"],
)
cube = cube.reduce_dimension(dimension='t', reducer=lambda x: x.last(ignore_nodata=False))
sampled = cube.aggregate_spatial(
    geometries=geometries,
    reducer="first",
)
job = sampled.create_job(
    out_format='Parquet', 
    feature_id_property='MGRSid10'
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant