Skip to content
Draft
98 changes: 98 additions & 0 deletions esrun_data/mangrove/dataset.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
{
"layers": {
"label": {
"type": "vector"
},
"sentinel1": {
"band_sets": [
{
"bands": [
"vv",
"vh"
],
"dtype": "float32"
}
],
"data_source": {
"time_offset": "-180d",
"duration": "366d",
"cache_dir": "cache/planetary_computer",
"ingest": false,
"name": "rslp.satlas.data_sources.MonthlySentinel1",
"query": {
"sar:instrument_mode": {
"eq": "IW"
},
"sar:polarizations": {
"eq": [
"VV",
"VH"
]
}
},
"query_config": {
"max_matches": 12
}
},
"type": "raster"
},
"sentinel2": {
"band_sets": [
{
"bands": [
"B02",
"B03",
"B04",
"B08"
],
"dtype": "uint16"
},
{
"bands": [
"B05",
"B06",
"B07",
"B8A",
"B11",
"B12"
],
"dtype": "uint16",
"zoom_offset": -1
},
{
"bands": [
"B01",
"B09"
],
"dtype": "uint16",
"zoom_offset": -2
}
],
"data_source": {
"time_offset": "-180d",
"duration": "366d",
"cache_dir": "cache/planetary_computer",
"harmonize": true,
"ingest": false,
"max_cloud_cover": 50,
"name": "rslp.satlas.data_sources.MonthlyAzureSentinel2",
"query_config": {
"max_matches": 12
},
"sort_by": "eo:cloud_cover"
},
"type": "raster"
},
"output": {
"band_sets": [
{
"bands": [
"output"
],
"dtype": "uint8"
}
],
"type": "raster"
}
}
}
38 changes: 38 additions & 0 deletions esrun_data/mangrove/esrun.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
partition_strategies:
partition_request_geometry:
class_path: esrun.runner.tools.partitioners.grid_partitioner.GridPartitioner
init_args:
grid_size: .1 # Lat lon degrees, a random guess not sure what is really reasonable
output_projection:
class_path: rslearn.utils.geometry.Projection
init_args:
crs: EPSG:3857
x_resolution: 10
y_resolution: -10
use_utm: true

prepare_window_geometries:
class_path: esrun.runner.tools.partitioners.grid_partitioner.GridPartitioner
init_args:
grid_size: 32 # 32 based on the window creation script yawen made
output_projection:
class_path: rslearn.utils.geometry.Projection
init_args:
crs: EPSG:3857
x_resolution: 10
y_resolution: -10
use_utm: true

postprocessing_strategies:
process_dataset:
class_path: esrun.runner.tools.postprocessors.combine_geotiff.CombineGeotiff

process_partition:
class_path: esrun.runner.tools.postprocessors.combine_geotiff.CombineGeotiff

process_window:
class_path: esrun.runner.tools.postprocessors.noop_raster.NoopRaster


inference_results_config:
data_type: RASTER
Loading
Loading