-
Notifications
You must be signed in to change notification settings - Fork 4
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
Investigate NaN pixels in DEM #141
Investigate NaN pixels in DEM #141
Comments
Reproduce DEM + S2 for this case without GFMAP and see if the issue persists. |
The gaps in the dem seem to coincide with the gaps due to clouds in sentinel-2. Joining the DEM cube to the temporal cube will only give results at timesteps where the temporal cube has data, hence the issue. |
No clue why for S1 this would be the case. For S2: we don't interpolate, because Presto handles missing data natively. However, for DEM this is not the case. By the way:
Is that really true? Because we don't interpolate optical, S2 has more no data timesteps, while DEM only has missing data in the first one. And the real question then is: how can we work around this? |
The missing S1 is the problem, and it's also normal: the date range starts at 07-30, and first available sentinel-1 is: S1A_IW_GRDH_1SDV_20200802T031408_20200802T031433_033722_03E88C_66C6_COG.SAFE |
Ok, I found what we can improve: the apply_dimension on bands which is done on the aggregated Sentinel-1 data, will remove all tiles that are fully nodata. This might have a small performance impact, but seems better for correctness and not giving unexpected results like this one. |
this is now fixed on our client side already, where we enforce start date as start of the month. |
… replace them with 'empty' tile. This avoids issues in subsequent merge_cubes with spatial cube or linear interpolation over time. WorldCereal/worldcereal-classification#141
By accident stumbled upon a weird DEM result for a patch extraction in Russia, generated in job
j-240830089c57467a8873ee79c0c5a6d2
.COP-DEM
is a non-temporal band but gets replicated along thet
axis. However, some nodata patches appear, but only in the first temporal element. Visually in RGB the first 2 temporal bands look like:And a timeseries in one of these red patches looks like:
We should find out why this first element is nodata.
The text was updated successfully, but these errors were encountered: