From e381e98312b5fe492cddf219b44fbb2df43258a4 Mon Sep 17 00:00:00 2001 From: veenstrajelmer Date: Thu, 2 Nov 2023 16:02:41 +0100 Subject: [PATCH] fixed testbank --- hydrolib/core/dflowfm/mdu/models.py | 4 ++-- .../dflowfm_individual_files/special_3d_settings.mdu | 2 +- tests/data/reference/fm/special_3d_settings.mdu | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/hydrolib/core/dflowfm/mdu/models.py b/hydrolib/core/dflowfm/mdu/models.py index 513006440..00a12d839 100644 --- a/hydrolib/core/dflowfm/mdu/models.py +++ b/hydrolib/core/dflowfm/mdu/models.py @@ -551,7 +551,7 @@ class Comments(INIBasedModel.Comments): "Initial air pressure [N/m2], only applied if value > 0.", alias="pavIni" ) computedairdensity: Optional[str] = Field( - "Compute air density yes/no (), 1/0, default 0.", alias="computedAirdensity" + "Compute air density yes/no (), 1/0, default 0.", alias="computedAirdensity" ) comments: Comments = Comments() @@ -1166,7 +1166,7 @@ class Comments(INIBasedModel.Comments): "Write wind stress to map file (1: yes, 0: no)", alias="wrimap_windstress" ) wrimap_airdensity: Optional[str] = Field( - "Write air density rates to map file (1: yes, 0: no).", alias="wrimap_airdensity" + "Write air density rates to map file (1: yes, 0: no)", alias="wrimap_airdensity" ) writek_cdwind: Optional[str] = Field( "Write wind friction coefficients to tek file (1: yes, 0: no).", diff --git a/tests/data/input/dflowfm_individual_files/special_3d_settings.mdu b/tests/data/input/dflowfm_individual_files/special_3d_settings.mdu index 9c478f56a..2cb4acc5c 100644 --- a/tests/data/input/dflowfm_individual_files/special_3d_settings.mdu +++ b/tests/data/input/dflowfm_individual_files/special_3d_settings.mdu @@ -293,7 +293,7 @@ Wrimap_turbulence = 1 # Write vicww, k Wrimap_rain = 1 # Write rainfall rates to map file (1: yes, 0: no) Wrimap_interception = 1 # Write interception to map file (1: yes, 0: no) Wrimap_wind = 1 # Write wind velocities to map file (1: yes, 0: no) -Wrimap_windstress = 1 # Write wind stress to map file (1: yes, 0: no) +Wrimap_windstress = 0 # Write wind stress to map file (1: yes, 0: no) Writek_CdWind = 0 # Write wind friction coeffs to tek file (1: yes, 0: no) Wrimap_heat_fluxes = 1 # Write heat fluxes to map file (1: yes, 0: no) Wrimap_DTcell = 1 # Write time step per cell based on CFL (1: yes, 0: no) diff --git a/tests/data/reference/fm/special_3d_settings.mdu b/tests/data/reference/fm/special_3d_settings.mdu index 786610ca9..5740b7ebb 100644 --- a/tests/data/reference/fm/special_3d_settings.mdu +++ b/tests/data/reference/fm/special_3d_settings.mdu @@ -250,9 +250,9 @@ wrihis_structure_uniWeir = 0 wrihis_structure_compound = 0 # compound structure parameters wrihis_turbulence = 1 # k, eps and vicww wrihis_wind = 1 # wind velocities -wrihis_airdensity = 0 # write air density to his file (1: yes, 0: no) +wrihis_airdensity = 0 # Write air density to his file (1: yes, 0: no) wrihis_rain = 1 # precipitation -wrihis_infiltration = 1 # Write infiltration to his file (1: yes, 0: no) +wrihis_infiltration = 1 # Write infiltration to his file (1: yes, 0: no)' wrihis_temperature = 1 # temperature wrihis_waves = 1 # wave data wrihis_heat_fluxes = 1 # heat fluxes @@ -290,8 +290,8 @@ wrimap_chezy = 1 wrimap_turbulence = 1 # Write vicww, k and eps to map file (1: yes, 0: no) wrimap_rain = 1 # Write rainfall rates to map file (1: yes, 0: no) wrimap_wind = 1 # Write wind velocities to map file (1: yes, 0: no) -wrimap_windstress = 0 # write wind stress to map file (1: yes, 0: no) -wrimap_airdensity = 0 # write air density to map file (1: yes, 0: no) +wrimap_windstress = 0 # Write wind stress to map file (1: yes, 0: no) +wrimap_airdensity = 0 # Write air density rates to map file (1: yes, 0: no) writek_CdWind = 0 # Write wind friction coeffs to tek file (1: yes, 0: no) wrimap_heat_fluxes = 1 # Write heat fluxes to map file (1: yes, 0: no) wrimap_wet_waterDepth_threshold = 2e-05 # Waterdepth threshold above which a grid point counts as 'wet'. Defaults to 0.2·Epshu. It is used for Wrimap_time_water_on_ground, Wrimap_waterdepth_on_ground and Wrimap_volume_on_ground.