﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
788	IMPORTANT: Update several ROMS processing Matlab scripts	arango		"Several Matlab scripts in various subdirectories were updated or added:

 * '''coastlines:''' The coastline extract function '''get_coast.m''' was updated to select the desired '''GSHHS''' dataset.  Also, updated '''r_gshhs.m''' and '''x_gshhs.m''' functions to process newer versions of the '''GSHHS''' dataset.  It currently process up to version '''2.3.6'''.

 * '''grid:''' Add new function '''rotate_grid.m''' to extract rotated Cartesian ('''rotate_cartesian.m''') or spherical ('''rotate_spherical''') grids. It will be used in the future fon nonalingned uniform refinement grids:
[[Image(https://www.myroms.org/trac/longisland1.png, center, 600)]]
[[Image(https://www.myroms.org/trac/longisland1_zoom.png, center, 600)]]

 * '''landmask:''' Modified several functions to work with newer versions of Matlab. The functions '''editmask.m''' and '''editscope.m''' were updated to use the '''m_map''' mapping package for Matlab.  The editing GUI has a different look:
[[Image(https://www.myroms.org/trac/editmask.png, center, 600)]]

 * '''m_map:''' Added Rich Pawlowicz (rich@ocgy.ubc.ca) awesome mapping package for Matlab; Version 1.4j May 2018. For information on how to use m_map check is the [https://www.eoas.ubc.ca/~rich/map.html user manual]. I didn't include the GSHHS dataset.  To install the GSHHS dataset follow the [https://www.eoas.ubc.ca/~rich/mapug.html#p8.6.1 instructions] in the '''m_map''' manual.

 You have the choice of moving the binary data files to your '''m_map/private''' directory or have equivalent links. For example, I have the following links in the private directory.
 {{{
arango  Jun  5 15:15 gshhs_c.b@ -> ~/ocean/GSHHS/Version_2.3.6/gshhs_c.b
arango  Jun  5 15:15 gshhs_f.b@ -> ~/ocean/GSHHS/Version_2.3.6/gshhs_f.b
arango  Jun  5 15:15 gshhs_h.b@ -> ~/ocean/GSHHS/Version_2.3.6/gshhs_h.b
arango  Jun  5 15:15 gshhs_i.b@ -> ~/ocean/GSHHS/Version_2.3.6/gshhs_i.b
arango  Jun  5 15:15 gshhs_l.b@ -> ~/ocean/GSHHS/Version_2.3.6/gshhs_l.b
arango  Jun  5 15:15 wdb_borders_c.b@ -> ~/ocean/GSHHS/Version_2.3.6/wdb_borders_c.b
arango  Jun  5 15:15 wdb_borders_f.b@ -> ~/ocean/GSHHS/Version_2.3.6/wdb_borders_f.b
arango  Jun  5 15:15 wdb_borders_h.b@ -> ~/ocean/GSHHS/Version_2.3.6/wdb_borders_h.b
arango  Jun  5 15:15 wdb_borders_i.b@ -> ~/ocean/GSHHS/Version_2.3.6/wdb_borders_i.b
arango  Jun  5 15:15 wdb_borders_l.b@ -> ~/ocean/GSHHS/Version_2.3.6/wdb_borders_l.b
arango  Jun  5 15:15 wdb_rivers_c.b@ -> ~/ocean/GSHHS/Version_2.3.6/wdb_rivers_c.b
arango  Jun  5 15:15 wdb_rivers_f.b@ -> ~/ocean/GSHHS/Version_2.3.6/wdb_rivers_f.b
arango  Jun  5 15:15 wdb_rivers_h.b@ -> ~/ocean/GSHHS/Version_2.3.6/wdb_rivers_h.b
arango  Jun  5 15:15 wdb_rivers_i.b@ -> ~/ocean/GSHHS/Version_2.3.6/wdb_rivers_i.b
arango  Jun  5 15:15 wdb_rivers_l.b@ -> ~/ocean/GSHHS/Version_2.3.6/wdb_rivers_l.b
}}}
 As yu can see, I am using '''GSHHS''' Version '''2.3.6''', released on August 17, 2016.

 * '''netcdf:'''  Updated '''check_metadata.m''', '''nc_read.m''', and '''roms_metadata.m'''.  I removed the usage of '''contains''' in '''nc_read.m''' because it a much newer function and doesn't work with older version of Matlab. However, I love the newer '''contains''' function."	upgrade	closed	major	Release ROMS/TOMS 3.7	Matlab	3.7	Done		
