Skip to content
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

Renamed bins to levels #68

Closed
wants to merge 100 commits into from
Closed

Renamed bins to levels #68

wants to merge 100 commits into from

Commits on Feb 14, 2023

  1. Start new branch for testing SFINCS-SnapWave IG wave generation. Made…

    … multiple parameters user changeable (snapwave_gammaig, snapwave_Tinc2ig, snapwave_shinc2ig,snapwave_finc2ig) as in HurryWave. Added factor to control offshore estimate of IG energy: snapwave_eeinc2ig
    Leynse committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    cae9550 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2023

  1. - finc2ig wasn't actually used in snapwave, so removed

    - Change default depth of snapwave from 0.01 to 0.001m for more flexibility and accuracy in specifying snapwave_hmin
    Leynse committed Feb 20, 2023
    Configuration menu
    Copy the full SHA
    88fa29a View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2023

  1. - Make possible to change baldock_opt from 1 (default) to 2

    - Make possible to change the baldock_ratio (default = 0.2 as before)
    Leynse committed Feb 21, 2023
    Configuration menu
    Copy the full SHA
    c4352fe View commit details
    Browse the repository at this point in the history
  2. - Add dissipation due to wave breaking and friction to his-output as …

    …'dw'and 'df' if storefw = 1
    Leynse committed Feb 21, 2023
    Configuration menu
    Copy the full SHA
    a1bd664 View commit details
    Browse the repository at this point in the history
  3. - Similarly add dissipation due to wave breaking and friction for IG …

    …waves to his-output as 'dw'and 'df' if storefw = 1
    
    - TODO; still check better whether integrated calculation is correct
    Leynse committed Feb 21, 2023
    Configuration menu
    Copy the full SHA
    7634c26 View commit details
    Browse the repository at this point in the history
  4. - Change minimum snapwave_depth

    - Add Battjes-Janssen 1978 breaking dissipation model for IG waves with 2 options to apply breaking everywhere or where H>gamma*depth, controlled by snapwave_battjesjanssen_opt=1 (default) or 2
    - add snapwave_ig_opt to swith between Baldock for IG waves =1 (default) of BattjesJanssen
    Leynse committed Feb 21, 2023
    Configuration menu
    Copy the full SHA
    43feb73 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2023

  1. Configuration menu
    Copy the full SHA
    6b03e52 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2023

  1. Configuration menu
    Copy the full SHA
    3936f68 View commit details
    Browse the repository at this point in the history
  2. - Calculate percentage of breaking waves Qb based on wave heights in …

    …previous timestep as in Baldocks formulation and write to sfincs netcdf output
    
    - Calculate directionally averaged normalised bed slope betan and write to sfincs netcdf output
    - Calculate directionally averaged shoaling factor fsh and write to sfincs netcdf output
    - Make fsh be dependent on one minus the percentage of breaking waves Qb instead of assuming Qb=1 as in Hurrywave implementation
    - Make coefficients in fsh user changeable and have a minimum value as in Hurrywave implementation -> snapwave_fshfac=1, snapwave_fshexp=15, snapwave_fshalphamin=0.1
    - Add a coefficient that controls how much of the incident energy sink ends up as IG wave source -> snapwave_shpercig=0.25 -> meaning that not all dissipated energy goes to the IG frequencies
    - Bugfix so Hmx_ig is actually controlled by gamma_ig instead of gamma of incident waves
    - Some intermediate attempts at different options inside Baldock breaker formulation
    Leynse committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    47442ce View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2023

  1. Configuration menu
    Copy the full SHA
    5eb4fa5 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2023

  1. - Remove Qb from Esink by removing from fsh_local calculation

    - add user parameter snapwave_depthforcerelease controlling below what water depth, there will be no inc2ig energy transfer anymore
    Leynse committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    cedbc83 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2023

  1. - Temporarily added hardcoded depth limit of 0.2m below which no ener…

    …gy source is given anymore to IG waves, should become more generalised later
    Leynse committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    b565eff View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2023

  1. Merge branch 'main' of https://github.com/Deltares/SFINCS into sfincs…

    …_snapwave_ig
    
    # Conflicts:
    #	source/src/sfincs_lib.f90
    #	source/third_party_open/netcdf/netcdf4.vcxproj
    Leynse committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    3a2849a View commit details
    Browse the repository at this point in the history
  2. - Add info about running with dynamic waves (wmvfile) and spectrum if…

    … monochromatic
    
    - Propose tp = snapwave_tpmean*snapwave_Tinc2ig instead of fixed value of 6
    - Was needed to read in snapwave_Tinc2ig again because snapwave_data is not available in SFINCS itself
    Leynse committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    7735895 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2023

  1. - Update names in his output to 'directionally averaged'

    - Add 'srcsh' variable of energy sink incident waves/energy source ig waves to his output, is directionally averaged
    - Therefore, in snapwave/snapwave_solver.f90 change srcsh into srcsh_local
    Leynse committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    5097482 View commit details
    Browse the repository at this point in the history
  2. - bugfix to achieve: in sfincs_wavemaker.f90, use user specified rati…

    …o between Tp,inc and Tp,ig: snapwave_Tinc2ig = 7 (default) instead of hardcoded ratio of 6.0
    
    - add quadtree print statements as in main
    Leynse committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    6b1a8bc View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2023

  1. - Give info to user about 'Number of boundary SnapWave nodes' found

    - remove unused 'igperiod' variable
    Leynse committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    5c9c3ac View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2023

  1. - Add general ig_opt = 2 to use first estimate of new shoaling rate f…

    …sh formula in subroutine 'estimate_shoaling_rate', still with regular Baldock wave dissipation
    
    - Option of old fsh formula with BattjesJanssen IG dissiptation is ig_opt = 3
    Leynse committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    5f65a95 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2023

  1. Configuration menu
    Copy the full SHA
    217ca4e View commit details
    Browse the repository at this point in the history

Commits on May 26, 2023

  1. - Add IG parametrisation version 4

    - Reset defaults of shinc2ig and shpercig
    Leynse committed May 26, 2023
    Configuration menu
    Copy the full SHA
    139660b View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2023

  1. Configuration menu
    Copy the full SHA
    306928f View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2023

  1. - Rename fsh to alphaig

    - Still have problem at boundaries
    - Still need to calcullate steepnes, reldepth, depthforcerelease based on weighted nearest offshore wave data
    Leynse committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    321a93e View commit details
    Browse the repository at this point in the history
  2. - Stable result now because of check: Sxxprev(itheta)<=0.0

    - Use now downwind IG wave height from previous timestep, to evaluate choice still
    Leynse committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    4f923b0 View commit details
    Browse the repository at this point in the history
  3. - Clean up a bit

    - if (Sxxprev(itheta)<=0.0) then is enough
    Leynse committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    0fda67b View commit details
    Browse the repository at this point in the history
  4. - With fixing alpha to 8, result seems plausible

    - Note the srcsh / Cg(i)
    Leynse committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    5a2138e View commit details
    Browse the repository at this point in the history
  5. - Now result seems good also with using alphaig_local instead of fixe…

    …d values of 8
    
    - Not sure whether all real*8 were needed in the end...
    Leynse committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    b8b9953 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c1188c9 View commit details
    Browse the repository at this point in the history
  7. - The Hinc,0 needed to be as rms to, so divided by sqrt(2)

    - Still to be reviewed whether method works good like this with all in rms instead of Hm0
    Leynse committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    216d1e6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    cf92bc2 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2023

  1. - Setting a minimum slope for deep water when determining alpha seems…

    … to limit 'inverse' shadow zone for IG waves, induced by the srcsh component
    Leynse committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    ce1c4e2 View commit details
    Browse the repository at this point in the history
  2. - Update error code ierr = -1 if simulation stopped

    - The -1 is now accessible out of ierr = sfincs_update loop when running through BMI I think
    - However, not yet as windows exe error message, since still the program stops normally, requires more work
    - Note, branch is split from current main, which had some small issues in quadtree netcdf when compiling in debug mode
    Leynse committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    bd228bd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f520dc3 View commit details
    Browse the repository at this point in the history
  4. - Also works when you don't take the absolute value (which is anyway …

    …better0, and then don't have to limit dSxx to min 0
    Leynse committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    0f3e9c8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7660e26 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2023

  1. - First working implementation with a weighted nearest offshore incid…

    …ent wave heights for calculating the offshore wave steepness, representative waterdepth, and alphaig shoaling parameter depth cutoff
    
    - Directly divided by sqrt(2) to go from Hm0 to Hrms
    - In initial test with multiple boundary input points with different input wave heights implementation seems to work
    Leynse committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    a7924f4 View commit details
    Browse the repository at this point in the history
  2. - Calculate depthforcerelease on the fly and spatially varying, inste…

    …ad of being a user input
    
    - Better to not divide by sqrt(2) yet in snapwave_boundaries.f90>update_boundaries
    Leynse committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    a62b1c2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dd4eb8a View commit details
    Browse the repository at this point in the history
  4. - Directly put relative into shoaling parameter function

    - rename into shoaling_parameter
    Leynse committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    5807f7a View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2023

  1. - Add a factor 'snapwave_alphaigfac' so you could increase/reduce the…

    … alphaigfac factor in case needed
    Leynse committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    0162cf3 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2023

  1. - Bring back depthforcerelease (needed for 2D Duck case)

    - Fix big bug in alhaig parameter fitting (xbeta and ybeta needed)
    - Output betar instead of betan
    Leynse committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    bfdda56 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2023

  1. - Put a limit on from what depth we do want extra IG transfer, now se…

    …t to 10*Hm0,inc
    
    - This makes sure that e.g. no transfer is initiated in 200m water depth, with constant alphaig=8
    - Add timer of SnapWave energy balance subroutine again
    Leynse committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    8d4c622 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4cf47af View commit details
    Browse the repository at this point in the history
  3. - Big change in calculating srcsh! Think it should be /dx instead of …

    …/cg!
    
    - Do deepwater cutoff now at reldepth=20
    - Add min value for H_rep tomake sure that H_rep(k) is never 0! (problem in calculating steepness_bc, reldepth and depthforcerelease later)
    Leynse committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    d987c22 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2023

  1. Configuration menu
    Copy the full SHA
    fa49553 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

  1. - Big improvement results because of solving Sxx and dSxx now also in…

    … wave direction itheta
    
    - srch should not be /Cgi+1 but /ds
    Leynse committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    fb1995f View commit details
    Browse the repository at this point in the history
  2. - Deep water limilation of reldepth=10 to start alphaig>0 not actuall…

    …y needed
    
    - Do check that reldepth is > 0
    Leynse committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    81b3d51 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2023

  1. Configuration menu
    Copy the full SHA
    426ca7e View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2023

  1. Configuration menu
    Copy the full SHA
    60d62f9 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2023

  1. - Add a separate user option for snapwave_alpha_ig, multiplication fa…

    …ctor in the Baldock wave dissipation formula, so its separate from incident waves
    
    - Add a separate user option for baldock_ratio_ig, so its separate from incident waves
    - Clean up code a bit by removing ig_opt 2,3,4 and old parametrisations
    - Tried real*8 for beta, betan_local, betar_local, not sure yet it is needed/helps
    - For now calculate betan output as maxval, not sum like alphaig
    Leynse committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    d1babd7 View commit details
    Browse the repository at this point in the history
  2. - Checked again, and shouldn't do the /2 reduction on ee for getting …

    …ee_ig, because ee is already Hrms based
    Leynse committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    eab08a4 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2023

  1. Configuration menu
    Copy the full SHA
    f97ccf1 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2023

  1. - Fix bug of reversed order alphaig formulations for deep and shallow

    - Also fix change b to beta
    - Fix gamma using Hinc_old from previous timestep
    Leynse committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    9857740 View commit details
    Browse the repository at this point in the history
  2. - Add beta and snapwavedepth to quadtree map output

    - Massive but weird bug - for some reason (k1*k2)>0 is not reliable always, resulting in directions being uncorrectly skipped!!! solved with:   if (k1>0 .and. k2>0) then ! IMPORTANT
    Leynse committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    386d28d View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2023

  1. - Bring back the option to subtract the IG wave energy from the incid…

    …ent waves. parameter: snapwave_shinc2ig = 1 to subtract. Use snapwave_shinc2ig = 0 (default) to only add energy to the IG waves, without incident wave sink
    Leynse committed Nov 27, 2023
    Configuration menu
    Copy the full SHA
    22f91bf View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2023

  1. Configuration menu
    Copy the full SHA
    c9b482b View commit details
    Browse the repository at this point in the history
  2. - Determine beta slope based on zb instead of depth, because depth ch…

    …anges with wave setup/surge/tide, and therefore als beta, which is not what we want I think
    Leynse committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    684f182 View commit details
    Browse the repository at this point in the history
  3. - Make it still possible to run with real dSxxdx, rather estimated us…

    …ing conservative shoaling, with snapwave_ig_opt = 2. For the rest everything is the same as with _opt = 1
    Leynse committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    48d940e View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2023

  1. - Write all needed code so that once Herbers method to estimate Hig0 …

    …(and a Tpig), for boundary points and timesteps is added, this is all processed correctly in subroutines 'update_boundary_points', 'update_boundaries' and as input to snapwave_solver.f90
    
    - Now ee_ig is build outside of solve_energy_balance2Dstat already, and can be spatially varying
    - Now T_ig is determined outside of solve_energy_balance2Dstat already, grid mean value
    Leynse committed Dec 22, 2023
    Configuration menu
    Copy the full SHA
    5df8828 View commit details
    Browse the repository at this point in the history
  2. - Changed location calling subroutine build_boundw, since we need the…

    … latest local water depth
    Leynse committed Dec 22, 2023
    Configuration menu
    Copy the full SHA
    f440ab3 View commit details
    Browse the repository at this point in the history
  3. - Added function to calculate water depth at input gridpoint locs > f…

    …ind_nearest_depth_for_boundary_points() > needed for Herbers estimate of Hig0
    
    - Code seems ready to add actual routine into 'build_boundw', next year!
    Leynse committed Dec 22, 2023
    Configuration menu
    Copy the full SHA
    83dc827 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2024

  1. Configuration menu
    Copy the full SHA
    7aceead View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0dc7953 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. Configuration menu
    Copy the full SHA
    65ed74b View commit details
    Browse the repository at this point in the history
  2. - Start of making subroutine determine_ig_bc

    - Working now is making jonswap spectrum in build_jonswap
    Leynse committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    5743b2f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1f56095 View commit details
    Browse the repository at this point in the history
  4. - Working now is making jonswap spectrum and 2D vardens until the end…

    … of build_jonswap subroutine of XBeach' waveparams.F90
    Leynse committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    bc7119f View commit details
    Browse the repository at this point in the history
  5. - Endpoint of today, whole way into subroutine build_etdir

    - think something with 'theta' and directions is too complicated now and not working
    - And something funny with those 'double allocated vars'
    Leynse committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    c46234a View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2024

  1. - Working now is making 2D var dens of random wave angles in build_jo…

    …nswap
    
    - End of Part 2, loosely based on XBeach subroutine 'build_etdir' from waveparams.F90
    - Used 2D interp insteadof XBeach code
    Leynse committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    c79976a View commit details
    Browse the repository at this point in the history
  2. - Make possible in Part 2 to correct the Hm0 of 2D Vardens spectrum t…

    …o input Hm0, as in XBeach option correctHm0 =1)
    
    - Default is off (=0) as in Matlab&XBeach code
    Leynse committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    f041401 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1067842 View commit details
    Browse the repository at this point in the history
  4. - Make sure the right updated water depth is used in subroutine updat…

    …e_boundary_conditions
    
    - Important! Overruled therefore this line in snapwave_boundaries.f90 - might conflict with running SnapWave standalone
    - Catch unrealistic low/high calculated values for Hm0ig
    Leynse committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    d082a6b View commit details
    Browse the repository at this point in the history
  5. - Added option to calculate Tp/Tm01/Tm-1,0 from spectrum

    - Added possibility to make choise what period to choose for Tp later user changeable
    Leynse committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    df083b9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d801c24 View commit details
    Browse the repository at this point in the history
  7. - Some more cleanup of code

    Leynse committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    54641ec View commit details
    Browse the repository at this point in the history
  8. - And finally the whole determine_ig_bc subroutine and supporting fun…

    …ctions in a separate module and file!
    
    - Also added to Makefile
    Leynse committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    fe71999 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. - Lot of cleaning up old parts that were legacy from earlier IG param…

    …eterisation versions
    
    - Added option whether one wants to use the herbers determined Hm0ig&Tp for boundary conditions (snapwave_use_herbers = 1, default)
    - Added option then for choosing Tpig type method based on computed spectrum (snapwave_tpig_opt = 1, default). Options are: 1=Tm01 (default), 2=Tpsmooth, 3=Tp, 4=Tm-1,0
    
    Other notes - SFINCS changes:
    Changed: references of betan are now beta in SFINCS netcdf output
    Removed: option that SFINCS wavemaker directly uses the snapwave_tpmean * snapwave_Tinc2ig > now let it come from Snapwave,
    where snapwave_tpigmean comes from (still there the option to user define snapwave_Tinc2ig, using snapwave_tpigopt=XX)
    
    Other notes - SnapWave changes:
    Removed: option in find_boundary_indices() that would find the nearest grid active point (kcs=1), that was used before in case of IG waves
    Removed: old vars like H_rep, steepnes_bc, depthforcerelease etc.
    Removed now unused variables: snapwave_shpercig, snapwave_fshalphamin, snapwave_fshfac, snapwave_fshexp
    Kept: baldock_opt > discuss later whether we want to keep this with SnapWave team
    Leynse committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    4b33483 View commit details
    Browse the repository at this point in the history
  2. - Small fixes

    - Add all snapwave vars also to attribute list for netcdf output, not all possible because of same name as in sfincs_data. Can see whether/how to add those later
    - renamed iig to igwaves_opt, and put in snapwave_data
    - Removed write statement, tpinc and tpig values are available in sfincs_his.nc now by default
    Leynse committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    7d5fdf3 View commit details
    Browse the repository at this point in the history
  3. - Move " snapwave_tpmean = tpmean_bwv & snapwave_tpigmean = tpmean_bw…

    …v_ig' in sfincs_snapwave.f90 after call update_boundary_conditions & compute_wave_field so values at first timestep are not 0!
    
    - Also added check on incoming Tpig in sfincs_snapwave, that is used in SFINCS' wavemaker routine.
    
    - Add check and warning on water depth in snapwave_infragravity - determine_ig_bc, because if you have snapwave.bnd points in shallow water (e.g. <10m), and expecially with low directional spreading, the computed Hm0ig can be large (>2m)
    - Consider calculating a mean deptht_bwv to use for herbers if deptht_bwv(ib) is very low, or set back to 10 m minimum. For now it's only a warning
    Leynse committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    39a0622 View commit details
    Browse the repository at this point in the history
  4. - Remove write statement

    Leynse committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    f95365d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7347bb0 View commit details
    Browse the repository at this point in the history
  6. - Fix small merge mess up

    Leynse committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    03c41a2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    94a00b1 View commit details
    Browse the repository at this point in the history
  8. - Remove bakfile

    Leynse committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    34a9db7 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. - show quadtree_rotation in degrees

    -  zsm also used in sfincs_continuity if 'snapwave=true' > todo: check if needed, or only for wavemaker
    - remove reduction of IG wave height at boundary in case of high values in Herbers - for now
    Leynse committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    d0d969c View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2024

  1. some quadtree bug fixes

    fixed issue where combined uv indices were not set properly (issue only occurred icm snapwave)
    added advection_mask (set to 0 next to boundaries and wave makers)
    added check on time series for wave makers and snap wave not covering entire simulation time span
    maartenvanormondt committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    9bd762a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f3d48fd View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2024

  1. Configuration menu
    Copy the full SHA
    0ef1df1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8afb7c3 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2024

  1. Configuration menu
    Copy the full SHA
    062f9bf View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2024

  1. small updates

    maartenvanormondt committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    e053b62 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2024

  1. - Update to main

    Leynse committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    f4aef91 View commit details
    Browse the repository at this point in the history
  2. - Undo some unnessary changes

    Leynse committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    c9628c0 View commit details
    Browse the repository at this point in the history
  3. - var status was already used > error now

    - fix some typos
    Leynse committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    e9a1713 View commit details
    Browse the repository at this point in the history
  4. - in sfincs.f90 > the sfincs_finalize loop should always be performed…

    …, especially in case of errors!
    Leynse committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    885b35e View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2024

  1. - small bug when single dtmaxout interval exactly coincides with mode…

    …l tstop (plus a little bit with dt), max output was called twice,
    
    while only (correctly) allocated for 1 timestep
    - Solved by not adding 'dtmaxout' in sfincs_lib.f90 if t>t1
    - to be discussed whether this is the optimal solution
    Leynse committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    6113e7b View commit details
    Browse the repository at this point in the history
  2. - Bugfix for twet > apperently order did matter in checking logicals …

    …which sometimes went wrong
    
    - solved by adding parantheses
    Leynse committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    9527e6a View commit details
    Browse the repository at this point in the history
  3. Merge branch '39-the-return-code-of-the-sfincs-model-is-always-0-even…

    …-if-the-model-fails' of https://github.com/Deltares/SFINCS into renamed_bins_to_levels
    Leynse committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    7f61571 View commit details
    Browse the repository at this point in the history
  4. - Change that check if sbgfile is netcdf or not is not done using net…

    …cdf library (causing in weird error message for user), but do a more clear check on the extension being '.nc' or not.
    
    - Therefore error message is adapted
    Leynse committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    9bcea17 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2024

  1. Revert "- Change that check if sbgfile is netcdf or not is not done u…

    …sing netcdf library (causing in weird error message for user), but do a more clear check on the extension being '.nc' or not."
    
    This reverts commit 9bcea17.
    maartenvanormondt committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    a8e2f9b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3bb6a29 View commit details
    Browse the repository at this point in the history