Typo in seagrid2roms.m and c_grid.m

Bug reports, work arounds and fixes

Moderators: arango, robertson

Post Reply
Message
Author
ouyuyuan
Posts: 3
Joined: Fri Dec 06, 2013 3:48 am
Location: Institute of Atmospheric Physics, CAS

Typo in seagrid2roms.m and c_grid.m

#1 Unread post by ouyuyuan »

Hi guys,
In revision 737, matlab/seagrid/seagrid2roms.m, line 118 is:

Code: Select all

bathemetry(bathymetry>max_depth) = max_depth
I think it should be:

Code: Select all

bathymetry(bathymetry>max_depth) = max_depth
The first word 'bathemetry' is a typo, maybe it will not clip the depth
deeper than maximum depth after running seagrid2roms.


And in matlab/grid/c_grid.m, Line 459 is:

Code: Select all

Var.long_name     = 'latitute of RHO-points';
The word 'latitute' is a typo, it should be 'latitude'.
Line 487, 515 and 543 have the same typo.

Post Reply