Opened 9 years ago
Last modified 2 years ago
#1595 closed Bug
ICB: various minor questions/bugs (icbclv and icbstp) — at Initial Version
Reported by: | mathiot | Owned by: | nemo |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | OCE | Version: | v4.0 |
Severity: | minor | Keywords: | ICB v4.0 |
Cc: | mathiot |
Description
- In case of calving point over land point (ie, bad calving file), if no isf cavity, the model runs without any trouble. However, if the model runs with isf cavity on (with the same tmask(:,:,1), i.e. same coastline/ice shelf edge), the model stop because some icb are grounded in a land point.
To avoid this, I suggest to mask the calving variable with tmask(:,:,1) in icbclv.F90 like this:
zfact = ( (1000._wp)**3 / ( NINT(rday) * nyear_len(1) ) ) * 850._wp berg_grid%calving(:,:) = src_calving(:,:) * tmask_i(:,:) * zfact * tmask(:,:,1) ! Heat in units of W/m2, and mask (just in case) berg_grid%calving_hflx(:,:) = src_calving_hflx(:,:) * tmask_i(:,:) * tmask(:,:,1)
This modification leads to the same behavior with and without ice shelf cavity (ie, mask the calving file and run without any sanity check).
- Is the hard coded 850._wp the same as the one defined in namelist_ref by the variable rn_rho_bergs?
- In icbstp.F90: the rst_write is based on nn_stock. Should it be based on nstock or lrst_oce instead?
As I am not an ICB expert, I let people comment on it.
These points are also affected the trunk.
Commit History (5)
Changeset | Author | Time | ChangeLog |
---|---|---|---|
10726 | mathiot | 2019-02-27T16:06:35+01:00 | changes related to bug fixes described in tickets #2228, #2229, #2238 and #1595 in NEMO 4.0 |
10715 | mathiot | 2019-02-22T16:17:56+01:00 | delete branch_ticket1595 (ticket #1595) |
10714 | mathiot | 2019-02-22T16:13:22+01:00 | fix ticket #1595 included into the trunk |
10710 | mathiot | 2019-02-21T12:22:22+01:00 | branch and changes related to ticket #1595 |
9328 | davestorkey | 2018-02-15T18:01:10+01:00 | Fix iceberg restarting to always be consistent with ocean/ice restarting. Ticket #2007 (also addresses one of Pierre's points in ticket #1595). |