Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- `msh.offset63` struct and associated write/make routines for dynamicwaterlevel offset functionality. https://github.com/CHLNDDEV/OceanMesh2D/pull/259
- dynamicWaterLevelCorrection to fort.15 namelist, and PRBCKGRND option to met fort.15 namelist. https://github.com/CHLNDDEV/OceanMesh2D/pull/261
## Fixed
- Updated `Calc_f13.m` to avoid an "Unrecognized variable" error by ensuring "broken" is always defined. https://github.com/CHLNDDEV/OceanMesh2D/pull/282
- Fixed test for likely geographic coordinates in `Make_f15.m`. https://github.com/CHLNDDEV/OceanMesh2D/pull/282
- updated `Gridded_to_Mesh_SeaBed_DepthAveraged.m` to fix the infinite loop in using `Cal_IT_Fric.m` by filling in the NaNs at greater depths with values from above. https://github.com/CHLNDDEV/OceanMesh2D/pull/280
- Recursive cleaning issues: infinite loop and preservation of fixed points.
- `msh.interp` method for `K` argument of length 1, and for the test to determine whether the bathymetry grid is irregular. https://github.com/CHLNDDEV/OceanMesh2D/pull/259
Expand Down
1 change: 1 addition & 0 deletions utilities/Calc_f13.m
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
obj.f13.NumOfNodes = length(obj.p);
obj.f13.nAttr = 1;
NA = 1;
broken = 0;
else
broken = 0;
for NA = 1:obj.f13.nAttr
Expand Down
2 changes: 1 addition & 1 deletion utilities/Make_f15.m
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
% IHOT (cold start)
f15dat.ihot = 0;
% ICS
if all(abs(obj.p(:,1))) <= 180 && all(abs(obj.p(:,2))) <= 90
if all(abs(obj.p(:,1)) <= 180) && all(abs(obj.p(:,2)) <= 90)
f15dat.ics = 2 ; % uses lat, lon (probably)
else
f15dat.ics = 1 ; % not lat, lon
Expand Down