You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to load in a long timeseries with dask to compute the mean values for the area over time. Here's a code trace for loading in the data and computing the mean without using dask:
I've loaded a Sentinel-2 image for the same area using dask and time period and that loads correctly, so either I am doing something wrong when using dask to calculate a 2D mean or the images themselves are registered weirdly.
The product yaml for cmorph_rainfall is:
name: cmorph_rainfall
description: NOAA Climate Data Record (CDR) of CPC Morphing Technique (CMORPH) High Resolution Global Precipitation Estimates, Version 1. From https://www.ncei.noaa.gov/access/metadata>
metadata_type: eo3
metadata:
product:
name: cmorph_rainfall
measurements:
- name: rainfall
dtype: float32
nodata: NaN
units: "degree"
I used eodatasets3 to generate the yamls (both data and yamls are in the same s3 bucket), with the following script being used to create the yamls.
with DatasetPrepare(metadata_path=Path(local_yamlpath)) as p:
p.product_family = 'cmorph_rainfall'
p.datetime = start_date.strftime('%Y%m%dT%H%M%S')
p.processed_now()
p.note_measurement('rainfall', Path(local_tifpath))
p.done()
Environment information
datacube version: 1.8.12
Any pointers on this greatly appreciated!
Note: Stale issues will be automatically closed after a period of six months with no activity.
To ensure critical issues are not closed, tag them with the Github pinned tag.
If you are a community member and not a maintainer please escalate this issue to maintainers via GIS StackExchange or Slack.
The text was updated successfully, but these errors were encountered:
I agree with Kirill. Datasets that span -180 to 180 longitude in native coordinates are problematic. You can hack around it by manually changing to something like -179.99999 to 180. It's a bit ugly, but it works.
Expected behaviour
I'm trying to load in a long timeseries with dask to compute the mean values for the area over time. Here's a code trace for loading in the data and computing the mean without using dask:
and
rainfall_list
, returns:Actual behaviour
When I load the data using dask and then running compute, it returns all nans, for both
rainfall_list
and then just selecting one individual timestep.this returns:
Steps to reproduce the behaviour
I've loaded a Sentinel-2 image for the same area using dask and time period and that loads correctly, so either I am doing something wrong when using dask to calculate a 2D mean or the images themselves are registered weirdly.
The product yaml for
cmorph_rainfall
is:and one of the dataset yamls looks as follows:
I used eodatasets3 to generate the yamls (both data and yamls are in the same s3 bucket), with the following script being used to create the yamls.
Environment information
datacube version: 1.8.12
Any pointers on this greatly appreciated!
The text was updated successfully, but these errors were encountered: