Open davidoesch opened 2 months ago
@Tschoun please confirm Define start end hours of S2 orbits : assuming that INGESTTIME according to https://code.earthengine.google.com/197d0cb28197c8cef1646976468818aa 10:10 UTC and 10:48 UTC for all 19k+ tiles
Working example gridded_curved_DEM_SRTM_SCHWEIZ.py.zip for SRTM data based on https://github.com/ChristianSteger/HORAYZON/blob/4ed462c3dc00869ab1d665c16c468af2ab1a3f57/examples/shadow/gridded_curved_DEM_SRTM.py : The resolution 100m, to take into account:
lon, lat, elevation = hray.load_dem.srtm(file_dem, domain_outer, engine="gdal")
to use swissalti or swissurface as input. Inspiration can be found here https://github.com/ChristianSteger/HORAYZON/blob/4ed462c3dc00869ab1d665c16c468af2ab1a3f57/horayzon/load_dem.py which does contains hintsEvaluated the use of r.sunmask.datetime of GRASS via QGIS: the approach is simpler than HORAYZON but seems to work. Example with 10x10 resampled for a specific day 2024-04-05 in 10:16 UTC https://data.geo.admin.ch/browser/index.html#/collections/ch.swisstopo.swisseo_s2-sr_v100/items/2024-04-05t101559?.asset=asset-ch.swisstopo.swisseo_s2-sr_v100_mosaic_2024-04-05t101559_bands-10m.tif
result SHADOW in RED 10:10, BLUE 10:15 , YELLOW 10:20
if we zoom in , we see that within 5min in April we have 10m changes in shadow:
Key findings
next steps
Test_Swisssurface with max Values in 10meters in 32632 test_small.zip
File https://github.com/swisstopo/topo-satromo/issues/83#issuecomment-2168122131 successfully tested.
Bild unten ROT: Swissalti gemäss satromo 1.0.0 , WEISS gemäss test_swisssurface
GOAL
https://github.com/swisstopo/topo-satromo/blob/be3f38851ebdd7f54267f8f9c469bbf99309865c/step0_processors/step0_processor_s2_sr.py#L320
out of scope
Deliverables
STEPS