diff --git a/mer_domains/high_reso/cag.yaml b/mer_domains/high_reso/cag.yaml new file mode 100644 index 0000000..e2e7f43 --- /dev/null +++ b/mer_domains/high_reso/cag.yaml @@ -0,0 +1,55 @@ +--- +name: CAG + +domain: + minimum_latitude: 39.041667601176 + maximum_latitude: 39.229167601164 + minimum_longitude: 9.005208795801 + maximum_longitude: 9.234375462453 + resolution: 0.001041666667 + minimum_h_factor: 0.2 + vertical_levels: + minimum_depth: 0.0 + maximum_depth: 3400.0 + first_layer_thickness: 1 + + +bathymetry: + kind: "EMODnet" + + +actions: + - action: SetDepth + description: | + Set the depth of all the cells that are shallower than 3 meters to exactly + 3 meters. We believe that this should guarantee a better behaviour + around the coasts. + where: everywhere + args: + value: 3. + shallower_than: 3. + + - action: RemoveDetachedCells + description: Keep only the biggest connected component + + - action: DigRivers + description: Dig the stems for the rivers + args: + main_file: ${MAIN_DIR}/mer_domains/rivers/main.json + domain_file: ${MAIN_DIR}/mer_domains/rivers/CAG.json + + - action: RemoveDeepTrappedWater + description: Remove the water cells on the boundary that are close to land + args: + n_cells: 3 + + - action: WriteBlankTiles + description: Write a list of tiles that do not contain water + args: + file_name: data.exch2_CAG + size_tiles_lon: 22 + size_tiles_lat: 30 + +filters: + - filter: RemoveStagnations + description: Removes bottom water cells surrounded by land diff --git a/mer_domains/high_reso/con.yaml b/mer_domains/high_reso/con.yaml new file mode 100644 index 0000000..44f537f --- /dev/null +++ b/mer_domains/high_reso/con.yaml @@ -0,0 +1,55 @@ +--- +name: CON + +domain: + minimum_latitude: 43.411459596491 + maximum_latitude: 43.692709596473 + minimum_longitude: 13.447917294914 + maximum_longitude: 13.781250628226 + resolution: 0.001041666667 + minimum_h_factor: 0.2 + vertical_levels: + minimum_depth: 0.0 + maximum_depth: 200.0 + first_layer_thickness: 1 + + +bathymetry: + kind: "EMODnet" + interpolation_method: "linear" + +actions: + - action: SetDepth + description: | + Set the depth of all the cells that are shallower than 3 meters to exactly + 3 meters. We believe that this should guarantee a better behaviour + around the coasts. + where: everywhere + args: + value: 3. + shallower_than: 3. + + + - action: RemoveDetachedCells + description: Keep only the biggest connected component + + - action: DigRivers + description: Dig the stems for the rivers + args: + main_file: ${MAIN_DIR}/mer_domains/rivers/main.json + + - action: RemoveDeepTrappedWater + description: Remove the water cells on the boundary that are close to land + args: + n_cells: 3 + + - action: WriteBlankTiles + description: Write a list of tiles that do not contain water + args: + file_name: data.exch2_CON + size_tiles_lon: 32 + size_tiles_lat: 27 + +filters: + - filter: RemoveStagnations + description: Removes bottom water cells surrounded by land diff --git a/mer_domains/high_reso/fol.yaml b/mer_domains/high_reso/fol.yaml new file mode 100644 index 0000000..080c667 --- /dev/null +++ b/mer_domains/high_reso/fol.yaml @@ -0,0 +1,50 @@ +--- +name: FOL + +domain: + minimum_latitude: 42.802084485442 + maximum_latitude: 42.958334485432 + minimum_longitude: 10.427083834134 + maximum_longitude: 10.791667167444 + resolution: 0.001041666667 + minimum_h_factor: 0.2 + vertical_levels: + minimum_depth: 0.0 + maximum_depth: 1200.0 + first_layer_thickness: 1 + + +bathymetry: + kind: "EMODnet" + + +actions: + - action: SetDepth + description: | + Set the depth of all the cells that are shallower than 3 meters to exactly + 3 meters. We believe that this should guarantee a better behaviour + around the coasts. + where: everywhere + args: + value: 3. + shallower_than: 3. + + - action: RemoveDetachedCells + description: Keep only the biggest connected component + + - action: RemoveDeepTrappedWater + description: Remove the water cells on the boundary that are close to land + args: + n_cells: 3 + + + - action: WriteBlankTiles + description: Write a list of tiles that do not contain water + args: + file_name: data.exch2_FOL + size_tiles_lon: 25 + size_tiles_lat: 30 + +filters: + - filter: RemoveStagnations + description: Removes bottom water cells surrounded by land diff --git a/mer_domains/high_reso/gae.yaml b/mer_domains/high_reso/gae.yaml new file mode 100644 index 0000000..c2662a8 --- /dev/null +++ b/mer_domains/high_reso/gae.yaml @@ -0,0 +1,55 @@ +--- +name: GAE + +domain: + minimum_latitude: 41.140625987751 + maximum_latitude: 41.265625987743 + minimum_longitude: 13.479167271856 + maximum_longitude: 13.854167271832 + resolution: 0.001041666667 + minimum_h_factor: 0.2 + vertical_levels: + minimum_depth: 0.0 + maximum_depth: 1200.0 + first_layer_thickness: 1 + + +bathymetry: + kind: "EMODnet" + + +actions: + - action: SetDepth + description: | + Set the depth of all the cells that are shallower than 3 meters to exactly + 3 meters. We believe that this should guarantee a better behaviour + around the coasts. + where: everywhere + args: + value: 3. + shallower_than: 3. + + - action: RemoveDetachedCells + description: Keep only the biggest connected component + + - action: DigRivers + description: Dig the stems for the rivers + args: + main_file: ${MAIN_DIR}/mer_domains/rivers/main.json + domain_file: ${MAIN_DIR}/mer_domains/rivers/GAE.json + + - action: RemoveDeepTrappedWater + description: Remove the water cells on the boundary that are close to land + args: + n_cells: 3 + + - action: WriteBlankTiles + description: Write a list of tiles that do not contain water + args: + file_name: data.exch2_GAE + size_tiles_lon: 24 + size_tiles_lat: 24 + +filters: + - filter: RemoveStagnations + description: Removes bottom water cells surrounded by land diff --git a/mer_domains/high_reso/gor.yaml b/mer_domains/high_reso/gor.yaml new file mode 100644 index 0000000..3d7e38a --- /dev/null +++ b/mer_domains/high_reso/gor.yaml @@ -0,0 +1,55 @@ +--- +name: GOR + +domain: + minimum_latitude: 44.515626263087 + maximum_latitude: 44.848959596399 + minimum_longitude: 12.234375628325 + maximum_longitude: 12.390625628315 + resolution: 0.001041666667 + minimum_h_factor: 0.2 + vertical_levels: + minimum_depth: 0.0 + maximum_depth: 300.0 + first_layer_thickness: 1 + + +bathymetry: + kind: "EMODnet" + interpolation_method: "linear" + +actions: + - action: SetDepth + description: | + Set the depth of all the cells that are shallower than 3 meters to exactly + 3 meters. We believe that this should guarantee a better behaviour + around the coasts. + where: everywhere + args: + value: 3. + shallower_than: 3. + + - action: RemoveDetachedCells + description: Keep only the biggest connected component + + - action: DigRivers + description: Dig the stems for the rivers + args: + main_file: ${MAIN_DIR}/mer_domains/rivers/main.json + domain_file: ${MAIN_DIR}/mer_domains/rivers/GOR.json + + - action: RemoveDeepTrappedWater + description: Remove the water cells on the boundary that are close to land + args: + n_cells: 3 + + - action: WriteBlankTiles + description: Write a list of tiles that do not contain water + args: + file_name: data.exch2_GOR + size_tiles_lon: 25 + size_tiles_lat: 20 + +filters: + - filter: RemoveStagnations + description: Removes bottom water cells surrounded by land diff --git a/mer_domains/high_reso/hgt.yaml b/mer_domains/high_reso/hgt.yaml index e8b8539..693a963 100644 --- a/mer_domains/high_reso/hgt.yaml +++ b/mer_domains/high_reso/hgt.yaml @@ -2,10 +2,10 @@ name: HGT domain: - minimum_latitude: 45.4583345963333 - maximum_latitude: 45.8020845963333 - minimum_longitude: 13.432292295 - maximum_longitude: 13.807292295 + minimum_latitude: 45.458334596360 + maximum_latitude: 45.802084596338 + minimum_longitude: 13.432292294915 + maximum_longitude: 13.807292294891 resolution: 0.001041666667 minimum_h_factor: 0.2 vertical_levels: @@ -29,6 +29,17 @@ actions: value: 3. shallower_than: 3. + - action: SetDepth + description: | + Fix some cells in Panzano-Monfalcone + where: slice + args: + min_lon: 13.55052 + max_lon: 13.55781 + min_lat: 45.77761 + max_lat: 45.7849 + value: 3. + deeper_than: 3. - action: RemoveDetachedCells description: Keep only the biggest connected component @@ -51,6 +62,29 @@ actions: value: 3. deeper_than: 3. + - action: SetDepth + description: | + Fix some cells near Dragonja river mouth + where: slice + args: + min_lon: 13.73802 + max_lon: 13.75677 + min_lat: 45.56198 + max_lat: 45.56719 + value: 3. + deeper_than: 5 + + - action: DigChannel + description: Open a channel near to Punta Spigolo + args: + start_point: + lat: 45.72969 + lon: 13.55365 + end_point: + lat: 45.73177 + lon: 13.55365 + width: 100 + - action: RemoveDeepTrappedWater description: Remove the water cells on the boundary that are close to land args: diff --git a/mer_domains/high_reso/iso.yaml b/mer_domains/high_reso/iso.yaml new file mode 100644 index 0000000..742bedd --- /dev/null +++ b/mer_domains/high_reso/iso.yaml @@ -0,0 +1,72 @@ +--- +name: ISO + +domain: + minimum_latitude: 45.70833458966666 + maximum_latitude: 45.75000125633333 + minimum_longitude: 13.494792331 + maximum_longitude: 13.57812566433 + resolution: 0.001041666667 + minimum_h_factor: 0.2 + vertical_levels: + minimum_depth: 0.0 + maximum_depth: 300.0 + first_layer_thickness: 1 + + +bathymetry: + kind: "EMODnet" + interpolation_method: "linear" + +actions: + - action: SetDepth + description: | + Set the depth of all the cells that are shallower than 3 meters to exactly + 3 meters. We believe that this should guarantee a better behaviour + around the coasts. + where: everywhere + args: + value: 3. + shallower_than: 3. + + + - action: RemoveDetachedCells + description: Keep only the biggest connected component + + - action: DigRivers + description: Dig the stems for the rivers + args: + main_file: ${MAIN_DIR}/mer_domains/rivers/main.json + domain_file: ${MAIN_DIR}/mer_domains/rivers/ISO.json + + - action: SetDepth + description: | + Fix some cells near the eastern part of the G-M lagoon + where: slice + args: + min_lon: 13.51 + max_lon: 13.54 + min_lat: 45.73 + max_lat: 45.75 + value: 3. + deeper_than: 3. + + - action: DigChannel + description: Open a channel near to Punta Spigolo + args: + start_point: + lat: 45.72969 + lon: 13.55365 + end_point: + lat: 45.73177 + lon: 13.55365 + width: 100 + + - action: RemoveDeepTrappedWater + description: Remove the water cells on the boundary that are close to land + args: + n_cells: 3 + +filters: + - filter: RemoveStagnations + description: Removes bottom water cells surrounded by land diff --git a/mer_domains/high_reso/lam.yaml b/mer_domains/high_reso/lam.yaml new file mode 100644 index 0000000..e8044b8 --- /dev/null +++ b/mer_domains/high_reso/lam.yaml @@ -0,0 +1,55 @@ +--- +name: LAM + +domain: + minimum_latitude: 38.708334166784 + maximum_latitude: 39.020834166764 + minimum_longitude: 16.104167383624 + maximum_longitude: 16.234375716949 + resolution: 0.001041666667 + minimum_h_factor: 0.2 + vertical_levels: + minimum_depth: 0.0 + maximum_depth: 500.0 + first_layer_thickness: 1 + + +bathymetry: + kind: "EMODnet" + + +actions: + - action: SetDepth + description: | + Set the depth of all the cells that are shallower than 3 meters to exactly + 3 meters. We believe that this should guarantee a better behaviour + around the coasts. + where: everywhere + args: + value: 3. + shallower_than: 3. + + - action: RemoveDetachedCells + description: Keep only the biggest connected component + + - action: DigRivers + description: Dig the stems for the rivers + args: + main_file: ${MAIN_DIR}/mer_domains/rivers/main.json + domain_file: ${MAIN_DIR}/mer_domains/rivers/LAM.json + + - action: RemoveDeepTrappedWater + description: Remove the water cells on the boundary that are close to land + args: + n_cells: 2 + + - action: WriteBlankTiles + description: Write a list of tiles that do not contain water + args: + file_name: data.exch2_LAM + size_tiles_lon: 25 + size_tiles_lat: 20 + +filters: + - filter: RemoveStagnations + description: Removes bottom water cells surrounded by land diff --git a/mer_domains/high_reso/nap.yaml b/mer_domains/high_reso/nap.yaml new file mode 100644 index 0000000..8019edf --- /dev/null +++ b/mer_domains/high_reso/nap.yaml @@ -0,0 +1,76 @@ +--- +name: NAP + +domain: + minimum_latitude: 40.588542654453 + maximum_latitude: 40.848959321103 + minimum_longitude: 14.067708938485 + maximum_longitude: 14.484375605125 + resolution: 0.001041666667 + minimum_h_factor: 0.2 + vertical_levels: + minimum_depth: 0.0 + maximum_depth: 1200.0 + first_layer_thickness: 1 + + +bathymetry: + kind: "EMODnet" + + +actions: + - action: SetDepth + description: | + Set the depth of all the cells that are shallower than 3 meters to exactly + 3 meters. We believe that this should guarantee a better behaviour + around the coasts. + where: everywhere + args: + value: 3. + shallower_than: 3. + + - action: RemoveDetachedCells + description: Keep only the biggest connected component + + - action: DigRivers + description: Dig the stems for the rivers + args: + main_file: ${MAIN_DIR}/mer_domains/rivers/main.json + + - action: DigChannel + description: Open a channel to delete single cell of Land in Pozzuoli Gulf + args: + start_point: + lat: 40.81915 + lon: 14.09747 + end_point: + lat: 40.81915 + lon: 14.09538 + width: 100 + + - action: DigChannel + description: Open a channel to separate the Rovigliano Rock + args: + start_point: + lat: 40.72712 + lon: 14.46715 + end_point: + lat: 40.72921 + lon: 14.46506 + width: 150 + + - action: RemoveDeepTrappedWater + description: Remove the water cells on the boundary that are close to land + args: + n_cells: 3 + + - action: WriteBlankTiles + description: Write a list of tiles that do not contain water + args: + file_name: data.exch2_NAP + size_tiles_lon: 20 + size_tiles_lat: 25 + +filters: + - filter: RemoveStagnations + description: Removes bottom water cells surrounded by land diff --git a/mer_domains/high_reso/pan.yaml b/mer_domains/high_reso/pan.yaml new file mode 100644 index 0000000..39ffe61 --- /dev/null +++ b/mer_domains/high_reso/pan.yaml @@ -0,0 +1,101 @@ +--- +name: PAN + +domain: + minimum_latitude: 38.536459043363 + maximum_latitude: 38.744792393472 + minimum_longitude: 14.984375604219 + maximum_longitude: 15.192708943093 + resolution: 0.001041666667 + minimum_h_factor: 0.2 + vertical_levels: + minimum_depth: 0.0 + maximum_depth: 2500.0 + first_layer_thickness: 1 + + +bathymetry: + kind: "EMODnet" + + +actions: + - action: SetDepth + description: | + Set the depth of all the cells that are shallower than 3 meters to exactly + 3 meters. We believe that this should guarantee a better behaviour + around the coasts. + where: everywhere + args: + value: 3. + shallower_than: 3. + + - action: SetDepth + description: | + Fix some cells south of Panarea + where: slice + args: + min_lon: 15.06615 + max_lon: 15.0724 + min_lat: 38.61927 + max_lat: 38.62656 + value: 50. + deeper_than: 80. + + - action: SetDepth + description: | + Fix some cells west of Panarea + where: slice + args: + min_lon: 15.05 + max_lon: 15.055 + min_lat: 38.628 + max_lat: 38.64 + value: 30. + deeper_than: 80. + + - action: SetDepth + description: | + Fix some cells west of Basiluzzo Island + where: slice + args: + min_lon: 15.10 + max_lon: 15.11 + min_lat: 38.658 + max_lat: 38.667 + value: 75. + deeper_than: 100. + + - action: SetDepth + description: | + Fix some cells east of Lisca Bianca Island + where: slice + args: + min_lon: 15.118 + max_lon: 15.1214 + min_lat: 38.636 + max_lat: 38.644 + value: 120. + deeper_than: 150. + + - action: RemoveDetachedCells + description: Keep only the biggest connected component + + - action: DigChannel + description: Open a channel to separate Lisca Bianca and Bottaro islands + args: + start_point: + lat: 38.63698 + lon: 15.11302 + end_point: + lat: 38.63802 + lon: 15.11094 + width: 120 + + - action: RemoveDeepTrappedWater + description: Remove the water cells on the boundary that are close to land + args: + n_cells: 3 + +filters: + - filter: RemoveStagnations + description: Removes bottom water cells surrounded by land diff --git a/mer_domains/high_reso/pes.yaml b/mer_domains/high_reso/pes.yaml new file mode 100644 index 0000000..2afcb9b --- /dev/null +++ b/mer_domains/high_reso/pes.yaml @@ -0,0 +1,55 @@ +--- +name: PES + +domain: + minimum_latitude: 42.359376035377 + maximum_latitude: 42.578126035363 + minimum_longitude: 14.093750674318 + maximum_longitude: 14.406250674298 + resolution: 0.001041666667 + minimum_h_factor: 0.2 + vertical_levels: + minimum_depth: 0.0 + maximum_depth: 200.0 + first_layer_thickness: 1 + + +bathymetry: + kind: "EMODnet" + + +actions: + - action: SetDepth + description: | + Set the depth of all the cells that are shallower than 3 meters to exactly + 3 meters. We believe that this should guarantee a better behaviour + around the coasts. + where: everywhere + args: + value: 3. + shallower_than: 3. + + - action: RemoveDetachedCells + description: Keep only the biggest connected component + + - action: DigRivers + description: Dig the stems for the rivers + args: + main_file: ${MAIN_DIR}/mer_domains/rivers/main.json + domain_file: ${MAIN_DIR}/mer_domains/rivers/PES.json + + - action: RemoveDeepTrappedWater + description: Remove the water cells on the boundary that are close to land + args: + n_cells: 3 + + - action: WriteBlankTiles + description: Write a list of tiles that do not contain water + args: + file_name: data.exch2_PES + size_tiles_lon: 30 + size_tiles_lat: 21 + +filters: + - filter: RemoveStagnations + description: Removes bottom water cells surrounded by land diff --git a/mer_domains/rivers/CAG.json b/mer_domains/rivers/CAG.json new file mode 100644 index 0000000..0319097 --- /dev/null +++ b/mer_domains/rivers/CAG.json @@ -0,0 +1,14 @@ +{ + "rivers": [ + { + "id": 109, + "name": "Mannu", + "model": "stem_flux", + "geometry": { + "mouth_latitude": 39.21084, + "mouth_longitude": 9.095724, + "stem_length": 5 + } + } + ] +} diff --git a/mer_domains/rivers/GAE.json b/mer_domains/rivers/GAE.json new file mode 100644 index 0000000..037e6cd --- /dev/null +++ b/mer_domains/rivers/GAE.json @@ -0,0 +1,13 @@ +{ + "rivers": [ + { + "id": 15, + "name": "Garigliano", + "geometry": { + "mouth_longitude": 13.759, + "mouth_latitude": 41.222, + "width": 200 + } + } + ] +} diff --git a/mer_domains/rivers/GOR.json b/mer_domains/rivers/GOR.json new file mode 100644 index 0000000..c0e93a3 --- /dev/null +++ b/mer_domains/rivers/GOR.json @@ -0,0 +1,11 @@ +{ + "rivers": [ + { + "id": 63, + "name": "Reno", + "geometry": { + "width": 200 + } + } + ] +} diff --git a/mer_domains/rivers/HGT.json b/mer_domains/rivers/HGT.json index 441dffc..99149cb 100644 --- a/mer_domains/rivers/HGT.json +++ b/mer_domains/rivers/HGT.json @@ -4,7 +4,10 @@ "id": 77, "name": "Timavo", "geometry": { - "stem_length": 15 + "stem_length": 15, + "mouth_latitude": 45.7734, + "mouth_longitude": 13.5832, + "width": 200 } }, { @@ -12,13 +15,14 @@ "name": "Isonzo", "geometry": { "stem": [ - "+5m", "-45z", "+10m" ], - "mouth_latitude": 45.72216, - "mouth_longitude": 13.55921 - } + "mouth_latitude": 45.729, + "mouth_longitude": 13.56, + "width": 280 + }, + "_comment": "Using 300 would produce larger stems" } ] } diff --git a/mer_domains/rivers/ISO.json b/mer_domains/rivers/ISO.json new file mode 100644 index 0000000..c5cdd1f --- /dev/null +++ b/mer_domains/rivers/ISO.json @@ -0,0 +1,18 @@ +{ + "rivers": [ + { + "id": 78, + "name": "Isonzo", + "geometry": { + "stem": [ + "-45z", + "+10m" + ], + "mouth_latitude": 45.729, + "mouth_longitude": 13.56, + "width": 280 + }, + "_comment": "Using 300 would produce larger stems" + } + ] +} diff --git a/mer_domains/rivers/LAM.json b/mer_domains/rivers/LAM.json new file mode 100644 index 0000000..eb2cdee --- /dev/null +++ b/mer_domains/rivers/LAM.json @@ -0,0 +1,14 @@ +{ + "rivers": [ + { + "id": 25, + "name": "Amato", + "geometry": { + "side": "E", + "stem": [ + "7z" + ] + } + } + ] +} diff --git a/mer_domains/rivers/PES.json b/mer_domains/rivers/PES.json new file mode 100644 index 0000000..c3369db --- /dev/null +++ b/mer_domains/rivers/PES.json @@ -0,0 +1,15 @@ +{ + "rivers": [ + { + "id": 50, + "name": "Pescara", + "geometry": { + "side": "S", + "mouth_longitude": 14.23119, + "stem": [ + "-7m" + ] + } + } + ] +}