<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.myroms.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Matlab_Scripts</id>
	<title>Matlab Scripts - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.myroms.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Matlab_Scripts"/>
	<link rel="alternate" type="text/html" href="https://www.myroms.org/wiki/index.php?title=Matlab_Scripts&amp;action=history"/>
	<updated>2026-04-27T13:47:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://www.myroms.org/wiki/index.php?title=Matlab_Scripts&amp;diff=6015&amp;oldid=prev</id>
		<title>Robertson at 17:04, 14 June 2021</title>
		<link rel="alternate" type="text/html" href="https://www.myroms.org/wiki/index.php?title=Matlab_Scripts&amp;diff=6015&amp;oldid=prev"/>
		<updated>2021-06-14T17:04:22Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:04, 14 June 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l44&quot;&gt;Line 44:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 44:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        /boundary                       Lateral boundary conditions processing scripts&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        /boundary                       Lateral boundary conditions processing scripts&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        /coastlines                     Coastline extraction scripts&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        /coastlines                     Coastline extraction scripts&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;       /colormaps                      Color maps and related processing funtions&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;       /coupling                       Computing melding weights between DATA and ROMS compnents&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;       /forcing                        Preparing ROMS forcing NetCDF files&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;       /grid                           Preparing ROMS grid NetCDF files&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        /initial                        Initial conditions and climatology processing scripts&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        /initial                        Initial conditions and climatology processing scripts&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        /landmask                       Land/Sea masking processing scripts and GUIs&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        /landmask                       Land/Sea masking processing scripts and GUIs&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;       /m_map                          Rich Pawlowicz&#039;s mapping toolbox&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        /mex/                           MEX interface to C and Fortran programs&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        /mex/                           MEX interface to C and Fortran programs&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;            /mexinside                  &amp;#039;&amp;#039;&amp;#039;inside&amp;#039;&amp;#039;&amp;#039; program&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;            /mexinside                  &amp;#039;&amp;#039;&amp;#039;inside&amp;#039;&amp;#039;&amp;#039; program&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l53&quot;&gt;Line 53:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 58:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        /seagrid                        SeaGrid generation GUI&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        /seagrid                        SeaGrid generation GUI&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        /seawater                       Seawater properties scripts&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        /seawater                       Seawater properties scripts&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;       /t_tide                         Harmonic analysis of a time series&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;       /tidal_ellipse                  Tidal ellipse parameter conversion&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        /utility                        Miscellaneous all purpose scripts&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        /utility                        Miscellaneous all purpose scripts&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        /startup.m                      User script for configuring Matlab&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        /startup.m                      User script for configuring Matlab&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Robertson</name></author>
	</entry>
	<entry>
		<id>https://www.myroms.org/wiki/index.php?title=Matlab_Scripts&amp;diff=4691&amp;oldid=prev</id>
		<title>Robertson at 15:39, 2 May 2012</title>
		<link rel="alternate" type="text/html" href="https://www.myroms.org/wiki/index.php?title=Matlab_Scripts&amp;diff=4691&amp;oldid=prev"/>
		<updated>2012-05-02T15:39:57Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:39, 2 May 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l10&quot;&gt;Line 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;These pages describe a variety of Matlab scripts that can be used for pre-processing and post-processing ROMS data.  Since all the data in ROMS is managed with NetCDF files, some of these scripts use a NetCDF interface to Matlab to process the data.  There are several interfaces for Matlab available from third parties.  The most widely used interfaces are &amp;#039;&amp;#039;&amp;#039;MEXNC&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;SNCTOOLS&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;These pages describe a variety of Matlab scripts that can be used for pre-processing and post-processing ROMS data.  Since all the data in ROMS is managed with NetCDF files, some of these scripts use a NetCDF interface to Matlab to process the data.  There are several interfaces for Matlab available from third parties.  The most widely used interfaces are &amp;#039;&amp;#039;&amp;#039;MEXNC&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;SNCTOOLS&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{note}} &#039;&#039;&#039;However&#039;&#039;&#039;, starting with Matlab version &#039;&#039;&#039;2012a&#039;&#039;&#039;, released on Feb 9, 2012, the &#039;&#039;&#039;native&#039;&#039;&#039; interface to NetCDF is the preferred method for processing NetCDF data in the scripts distributed in the ROMS repository &#039;&#039;&#039;matlab&#039;&#039;&#039; and described here. The &#039;&#039;&#039;native&#039;&#039;&#039; interface was introduced in Matlab version &#039;&#039;&#039;2008b&#039;&#039;&#039; for &#039;&#039;&#039;NetCDF-3&#039;&#039;&#039; type files.  The &#039;&#039;&#039;NetCDF-4&#039;&#039;&#039; support started in version &#039;&#039;&#039;2010b&#039;&#039;&#039;.  The support for &#039;&#039;&#039;HDF5&#039;&#039;&#039; files was completed in version &#039;&#039;&#039;2011a&#039;&#039;&#039;.  The &#039;&#039;&#039;OpenDAP&#039;&#039;&#039; support began in version &#039;&#039;&#039;2012a&#039;&#039;&#039;.  If your Matlab version is older than 2008b, we highly recommend that you update to the newest version.   However, in the basic generic scripts we have switches for older versions to activate either the &#039;&#039;&#039;MEXNC&#039;&#039;&#039; interface for standard NetCDF files and the &#039;&#039;&#039;SNCTOOLS&#039;&#039;&#039; interface to process NetCDF files on an &#039;&#039;&#039;OpenDAP&#039;&#039;&#039; server.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{note}} &#039;&#039;&#039;However&#039;&#039;&#039;, starting with Matlab version &#039;&#039;&#039;2012a&#039;&#039;&#039;, released on Feb 9, 2012, the &#039;&#039;&#039;native&#039;&#039;&#039; interface to NetCDF is the preferred method for processing NetCDF data in the scripts distributed in the ROMS repository &#039;&#039;&#039;matlab&#039;&#039;&#039; and described here. The &#039;&#039;&#039;native&#039;&#039;&#039; interface was introduced in Matlab version &#039;&#039;&#039;2008b&#039;&#039;&#039; for &#039;&#039;&#039;NetCDF-3&#039;&#039;&#039; type files.  The &#039;&#039;&#039;NetCDF-4&#039;&#039;&#039; support started in version &#039;&#039;&#039;2010b&#039;&#039;&#039;.  The support for &#039;&#039;&#039;HDF5&#039;&#039;&#039; files was completed in version &#039;&#039;&#039;2011a&#039;&#039;&#039;.  The &#039;&#039;&#039;OpenDAP&#039;&#039;&#039; support began in version &#039;&#039;&#039;2012a&#039;&#039;&#039;.  If your Matlab version is older than &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt;2008b&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt;, we highly recommend that you update to the newest version.   However, in the basic generic scripts we have switches for older versions to activate either the &#039;&#039;&#039;MEXNC&#039;&#039;&#039; interface for standard NetCDF files and the &#039;&#039;&#039;SNCTOOLS&#039;&#039;&#039; interface to process NetCDF files on an &#039;&#039;&#039;OpenDAP&#039;&#039;&#039; server.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Programming in Matlab is easy.  However, good and efficient programming in Matlab requires skill and time. We usually become better at it the more that we practice.  I started programming in Matlab in the earlier 1990&amp;#039;s. If I look back at my earlier scripts, they were horrendous and extremely inefficient. There were some scripts that would take around 30 minutes to execute. I can rewrite those scripts nowadays and it will take seconds to execute.  So we learn over the years how to program very efficiently.  We are constantly learning new tricks and new functions.  Just like ROMS, Matlab is always evolving.  Plotting in Matlab also takes skill.  There are a lot of papers in the literature with very poor Matlab plots...&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Programming in Matlab is easy.  However, good and efficient programming in Matlab requires skill and time. We usually become better at it the more that we practice.  I started programming in Matlab in the earlier 1990&amp;#039;s. If I look back at my earlier scripts, they were horrendous and extremely inefficient. There were some scripts that would take around 30 minutes to execute. I can rewrite those scripts nowadays and it will take seconds to execute.  So we learn over the years how to program very efficiently.  We are constantly learning new tricks and new functions.  Just like ROMS, Matlab is always evolving.  Plotting in Matlab also takes skill.  There are a lot of papers in the literature with very poor Matlab plots...&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Robertson</name></author>
	</entry>
	<entry>
		<id>https://www.myroms.org/wiki/index.php?title=Matlab_Scripts&amp;diff=4683&amp;oldid=prev</id>
		<title>Robertson at 12:22, 2 May 2012</title>
		<link rel="alternate" type="text/html" href="https://www.myroms.org/wiki/index.php?title=Matlab_Scripts&amp;diff=4683&amp;oldid=prev"/>
		<updated>2012-05-02T12:22:53Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:22, 2 May 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l8&quot;&gt;Line 8:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Introduction==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Introduction==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;These pages describe a variety of Matlab scripts that can be used for pre-processing and post-processing ROMS data.  Since all the data in ROMS is managed with NetCDF files, some of these scripts use a NetCDF interface to Matlab to process the data.  There are several interfaces for Matlab available from third parties.  The most widely used &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;interface &lt;/del&gt;are &#039;&#039;&#039;MEXNC&#039;&#039;&#039; and &#039;&#039;&#039;SNCTOOLS&#039;&#039;&#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;These pages describe a variety of Matlab scripts that can be used for pre-processing and post-processing ROMS data.  Since all the data in ROMS is managed with NetCDF files, some of these scripts use a NetCDF interface to Matlab to process the data.  There are several interfaces for Matlab available from third parties.  The most widely used &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;interfaces &lt;/ins&gt;are &#039;&#039;&#039;MEXNC&#039;&#039;&#039; and &#039;&#039;&#039;SNCTOOLS&#039;&#039;&#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{note}} &#039;&#039;&#039;However&#039;&#039;&#039;, starting with Matlab version &#039;&#039;&#039;2012a&#039;&#039;&#039;, released on Feb 9, 2012, the &#039;&#039;&#039;native&#039;&#039;&#039; interface to NetCDF is the preferred method for processing NetCDF data in the scripts distributed in the ROMS repository &#039;&#039;&#039;matlab&#039;&#039;&#039; and described here. The &#039;&#039;&#039;native&#039;&#039;&#039; interface was introduced in Matlab version &#039;&#039;&#039;2008b&#039;&#039;&#039; for &#039;&#039;&#039;NetCDF-3&#039;&#039;&#039; type files.  The &#039;&#039;&#039;NetCDF-4&#039;&#039;&#039; support started in version &#039;&#039;&#039;2010b&#039;&#039;&#039;.  The support for &#039;&#039;&#039;HDF5&#039;&#039;&#039; files was completed in version &#039;&#039;&#039;2011a&#039;&#039;&#039;.  The &#039;&#039;&#039;OpenDAP&#039;&#039;&#039; support began in version &#039;&#039;&#039;2012a&#039;&#039;&#039;.  If your Matlab version is older than 2008b, we highly recommend &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;to &lt;/del&gt;update to the newest version.   However, in the basic generic scripts we have switches for older versions to activate either the &#039;&#039;&#039;MEXNC&#039;&#039;&#039; interface for standard NetCDF files and the &#039;&#039;&#039;SNCTOOLS&#039;&#039;&#039; interface to process NetCDF files on an &#039;&#039;&#039;OpenDAP&#039;&#039;&#039; server.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{note}} &#039;&#039;&#039;However&#039;&#039;&#039;, starting with Matlab version &#039;&#039;&#039;2012a&#039;&#039;&#039;, released on Feb 9, 2012, the &#039;&#039;&#039;native&#039;&#039;&#039; interface to NetCDF is the preferred method for processing NetCDF data in the scripts distributed in the ROMS repository &#039;&#039;&#039;matlab&#039;&#039;&#039; and described here. The &#039;&#039;&#039;native&#039;&#039;&#039; interface was introduced in Matlab version &#039;&#039;&#039;2008b&#039;&#039;&#039; for &#039;&#039;&#039;NetCDF-3&#039;&#039;&#039; type files.  The &#039;&#039;&#039;NetCDF-4&#039;&#039;&#039; support started in version &#039;&#039;&#039;2010b&#039;&#039;&#039;.  The support for &#039;&#039;&#039;HDF5&#039;&#039;&#039; files was completed in version &#039;&#039;&#039;2011a&#039;&#039;&#039;.  The &#039;&#039;&#039;OpenDAP&#039;&#039;&#039; support began in version &#039;&#039;&#039;2012a&#039;&#039;&#039;.  If your Matlab version is older than 2008b, we highly recommend &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;that you &lt;/ins&gt;update to the newest version.   However, in the basic generic scripts we have switches for older versions to activate either the &#039;&#039;&#039;MEXNC&#039;&#039;&#039; interface for standard NetCDF files and the &#039;&#039;&#039;SNCTOOLS&#039;&#039;&#039; interface to process NetCDF files on an &#039;&#039;&#039;OpenDAP&#039;&#039;&#039; server.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Programming in Matlab is easy.  However, good and efficient programming in Matlab requires skill and time. We usually become better at it the more that we practice.  I started programming in Matlab in the earlier 1990&amp;#039;s. If I look back at my earlier scripts, they were horrendous and extremely inefficient. There were some scripts that would take around 30 minutes to execute. I can rewrite those scripts nowadays and it will take seconds to execute.  So we learn over the years how to program very efficiently.  We are constantly learning new tricks and new functions.  Just like ROMS, Matlab is always evolving.  Plotting in Matlab also takes skill.  There are a lot of papers in the literature with very poor Matlab plots...&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Programming in Matlab is easy.  However, good and efficient programming in Matlab requires skill and time. We usually become better at it the more that we practice.  I started programming in Matlab in the earlier 1990&amp;#039;s. If I look back at my earlier scripts, they were horrendous and extremely inefficient. There were some scripts that would take around 30 minutes to execute. I can rewrite those scripts nowadays and it will take seconds to execute.  So we learn over the years how to program very efficiently.  We are constantly learning new tricks and new functions.  Just like ROMS, Matlab is always evolving.  Plotting in Matlab also takes skill.  There are a lot of papers in the literature with very poor Matlab plots...&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l30&quot;&gt;Line 30:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 30:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;and the &amp;#039;&amp;#039;&amp;#039;SNCTOOLS&amp;#039;&amp;#039;&amp;#039; interface can be downloaded from:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;and the &amp;#039;&amp;#039;&amp;#039;SNCTOOLS&amp;#039;&amp;#039;&amp;#039; interface can be downloaded from:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &amp;lt;span class=&quot;red&quot;&amp;gt;svn checkout &amp;lt;nowiki&amp;gt; https://mexcdf.svn.sourceforge.net/svnroot/mexcdf/snctools/trunk&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt;&lt;/del&gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt; &#039;&#039;&#039;MyDir&#039;&#039;&#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &amp;lt;span class=&quot;red&quot;&amp;gt;svn checkout &amp;lt;nowiki&amp;gt; https://mexcdf.svn.sourceforge.net/svnroot/mexcdf/snctools/trunk&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt; &#039;&#039;&#039;MyDir&#039;&#039;&#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;But recall that both the &amp;#039;&amp;#039;&amp;#039;MEXNC&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;SNCTOOLS&amp;#039;&amp;#039;&amp;#039; interfaces are obsolete if you have Matlab Version &amp;#039;&amp;#039;&amp;#039;2008b&amp;#039;&amp;#039;&amp;#039; or newer and Matlab Version &amp;#039;&amp;#039;&amp;#039;2012a&amp;#039;&amp;#039;&amp;#039; for accessing NetCDF files on an &amp;#039;&amp;#039;&amp;#039;OpenDAP&amp;#039;&amp;#039;&amp;#039; server. See description in the [[Matlab_Scripts#Introduction|above]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;But recall that both the &amp;#039;&amp;#039;&amp;#039;MEXNC&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;SNCTOOLS&amp;#039;&amp;#039;&amp;#039; interfaces are obsolete if you have Matlab Version &amp;#039;&amp;#039;&amp;#039;2008b&amp;#039;&amp;#039;&amp;#039; or newer and Matlab Version &amp;#039;&amp;#039;&amp;#039;2012a&amp;#039;&amp;#039;&amp;#039; for accessing NetCDF files on an &amp;#039;&amp;#039;&amp;#039;OpenDAP&amp;#039;&amp;#039;&amp;#039; server. See description in the [[Matlab_Scripts#Introduction|above]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l54&quot;&gt;Line 54:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 54:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        /seawater                       Seawater properties scripts&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        /seawater                       Seawater properties scripts&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        /utility                        Miscellaneous all purpose scripts&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        /utility                        Miscellaneous all purpose scripts&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        /startup.m                      &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Use &lt;/del&gt;script &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;configuration &lt;/del&gt;for Matlab&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        /startup.m                      &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;User &lt;/ins&gt;script for &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;configuring &lt;/ins&gt;Matlab&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;lt;span class=&quot;blue&quot;&amp;gt;mexinside&amp;lt;/span&amp;gt; program is kind obsolete since Matlab &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;offer the &lt;/del&gt;&amp;lt;span class=&quot;blue&quot;&amp;gt;inpolygon&amp;lt;/span&amp;gt; with the same functionality.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;lt;span class=&quot;blue&quot;&amp;gt;mexinside&amp;lt;/span&amp;gt; program is kind &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;of &lt;/ins&gt;obsolete since Matlab &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;offers &lt;/ins&gt;&amp;lt;span class=&quot;blue&quot;&amp;gt;inpolygon&amp;lt;/span&amp;gt; with the same functionality.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Robertson</name></author>
	</entry>
	<entry>
		<id>https://www.myroms.org/wiki/index.php?title=Matlab_Scripts&amp;diff=4634&amp;oldid=prev</id>
		<title>Robertson at 16:08, 24 April 2012</title>
		<link rel="alternate" type="text/html" href="https://www.myroms.org/wiki/index.php?title=Matlab_Scripts&amp;diff=4634&amp;oldid=prev"/>
		<updated>2012-04-24T16:08:44Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:08, 24 April 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l8&quot;&gt;Line 8:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Introduction==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Introduction==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;These pages describe a variety of Matlab scripts that can be used &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;to &lt;/del&gt;pre-processing and post-processing ROMS data.  Since all the data in ROMS is managed with NetCDF files, some of these scripts use a NetCDF interface to Matlab to process the data.  There are several interfaces for Matlab available from third parties.  The most widely used interface are &#039;&#039;&#039;MEXNC&#039;&#039;&#039; and &#039;&#039;&#039;SNCTOOLS&#039;&#039;&#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;These pages describe a variety of Matlab scripts that can be used &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;for &lt;/ins&gt;pre-processing and post-processing ROMS data.  Since all the data in ROMS is managed with NetCDF files, some of these scripts use a NetCDF interface to Matlab to process the data.  There are several interfaces for Matlab available from third parties.  The most widely used interface are &#039;&#039;&#039;MEXNC&#039;&#039;&#039; and &#039;&#039;&#039;SNCTOOLS&#039;&#039;&#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{note}} &#039;&#039;&#039;However&#039;&#039;&#039;, starting Matlab version &#039;&#039;&#039;2012a&#039;&#039;&#039;, released on Feb 9, 2012, the &#039;&#039;&#039;native&#039;&#039;&#039; interface to NetCDF is the preferred method for processing NetCDF data in the scripts distributed in the ROMS repository &#039;&#039;&#039;matlab&#039;&#039;&#039; and described here. The &#039;&#039;&#039;native&#039;&#039;&#039; interface was introduced in Matlab version &#039;&#039;&#039;2008b&#039;&#039;&#039; for &#039;&#039;&#039;NetCDF-3&#039;&#039;&#039; type files.  The &#039;&#039;&#039;NetCDF-4&#039;&#039;&#039; support started in version &#039;&#039;&#039;2010b&#039;&#039;&#039;.  The support for &#039;&#039;&#039;HDF5&#039;&#039;&#039; files was completed in version &#039;&#039;&#039;2011a&#039;&#039;&#039;.  The &#039;&#039;&#039;OpenDAP&#039;&#039;&#039; support began in version &#039;&#039;&#039;2012a&#039;&#039;&#039;.  If your Matlab version is older than 2008b, we highly recommend to update to the newest version.   However, in the basic generic scripts we have switches for older versions to activate either the &#039;&#039;&#039;MEXNC&#039;&#039;&#039; interface for standard NetCDF files and the &#039;&#039;&#039;SNCTOOLS&#039;&#039;&#039; interface to process NetCDF files on an &#039;&#039;&#039;OpenDAP&#039;&#039;&#039; server.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{note}} &#039;&#039;&#039;However&#039;&#039;&#039;, starting &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;with &lt;/ins&gt;Matlab version &#039;&#039;&#039;2012a&#039;&#039;&#039;, released on Feb 9, 2012, the &#039;&#039;&#039;native&#039;&#039;&#039; interface to NetCDF is the preferred method for processing NetCDF data in the scripts distributed in the ROMS repository &#039;&#039;&#039;matlab&#039;&#039;&#039; and described here. The &#039;&#039;&#039;native&#039;&#039;&#039; interface was introduced in Matlab version &#039;&#039;&#039;2008b&#039;&#039;&#039; for &#039;&#039;&#039;NetCDF-3&#039;&#039;&#039; type files.  The &#039;&#039;&#039;NetCDF-4&#039;&#039;&#039; support started in version &#039;&#039;&#039;2010b&#039;&#039;&#039;.  The support for &#039;&#039;&#039;HDF5&#039;&#039;&#039; files was completed in version &#039;&#039;&#039;2011a&#039;&#039;&#039;.  The &#039;&#039;&#039;OpenDAP&#039;&#039;&#039; support began in version &#039;&#039;&#039;2012a&#039;&#039;&#039;.  If your Matlab version is older than 2008b, we highly recommend to update to the newest version.   However, in the basic generic scripts we have switches for older versions to activate either the &#039;&#039;&#039;MEXNC&#039;&#039;&#039; interface for standard NetCDF files and the &#039;&#039;&#039;SNCTOOLS&#039;&#039;&#039; interface to process NetCDF files on an &#039;&#039;&#039;OpenDAP&#039;&#039;&#039; server.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Programming in Matlab is easy.  However, good and efficient programming in Matlab requires skill and time. We usually become better at it the more that we practice.  I started programming in Matlab in the earlier 1990&#039;s. If I look back at my earlier scripts, they were horrendous and extremely inefficient. There were some scripts that would take around 30 minutes to execute. I can rewrite those scripts nowadays and &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;if &lt;/del&gt;will take seconds to execute.  So we learn over the years how to program very efficiently.  We are constantly learning new tricks and new functions.  &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;As &lt;/del&gt;ROMS, Matlab is always evolving.  Plotting in Matlab &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;take &lt;/del&gt;also skill.  There &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is &lt;/del&gt;a lot of &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;paper &lt;/del&gt;in the literature with very poor Matlab plots...&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Programming in Matlab is easy.  However, good and efficient programming in Matlab requires skill and time. We usually become better at it the more that we practice.  I started programming in Matlab in the earlier 1990&#039;s. If I look back at my earlier scripts, they were horrendous and extremely inefficient. There were some scripts that would take around 30 minutes to execute. I can rewrite those scripts nowadays and &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;it &lt;/ins&gt;will take seconds to execute.  So we learn over the years how to program very efficiently.  We are constantly learning new tricks and new functions.  &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Just like &lt;/ins&gt;ROMS, Matlab is always evolving.  Plotting in Matlab also &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;takes &lt;/ins&gt;skill.  There &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;are &lt;/ins&gt;a lot of &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;papers &lt;/ins&gt;in the literature with very poor Matlab plots...&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Repositories==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Repositories==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Robertson</name></author>
	</entry>
	<entry>
		<id>https://www.myroms.org/wiki/index.php?title=Matlab_Scripts&amp;diff=4611&amp;oldid=prev</id>
		<title>Arango at 20:54, 23 April 2012</title>
		<link rel="alternate" type="text/html" href="https://www.myroms.org/wiki/index.php?title=Matlab_Scripts&amp;diff=4611&amp;oldid=prev"/>
		<updated>2012-04-23T20:54:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:54, 23 April 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l50&quot;&gt;Line 50:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 50:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;            /mexrect                    Curvilinear and rectilinear program&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;            /mexrect                    Curvilinear and rectilinear program&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;            /mexsepeli                  Sepeli conformal mapping&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;            /mexsepeli                  Sepeli conformal mapping&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;       /netcdf                         NetCDF data processing scripts&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        /seagrid                        SeaGrid generation GUI&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        /seagrid                        SeaGrid generation GUI&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        /seawater                       Seawater properties scripts&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        /seawater                       Seawater properties scripts&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Arango</name></author>
	</entry>
	<entry>
		<id>https://www.myroms.org/wiki/index.php?title=Matlab_Scripts&amp;diff=4550&amp;oldid=prev</id>
		<title>Arango at 17:32, 23 April 2012</title>
		<link rel="alternate" type="text/html" href="https://www.myroms.org/wiki/index.php?title=Matlab_Scripts&amp;diff=4550&amp;oldid=prev"/>
		<updated>2012-04-23T17:32:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:32, 23 April 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&#039;&#039;&#039;Bold text&#039;&#039;&#039;&#039;&#039;&#039;&lt;/del&gt;&amp;lt;div class=&quot;title&quot;&amp;gt;Matlab Scripts&amp;lt;/div&amp;gt;__NOTOC__&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&quot;title&quot;&amp;gt;Matlab Scripts&amp;lt;/div&amp;gt;__NOTOC__&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!-- Edit Template:Matlab_Scripts_TOC to modify this Table of Contents--&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!-- Edit Template:Matlab_Scripts_TOC to modify this Table of Contents--&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Arango</name></author>
	</entry>
	<entry>
		<id>https://www.myroms.org/wiki/index.php?title=Matlab_Scripts&amp;diff=4549&amp;oldid=prev</id>
		<title>Arango at 17:28, 23 April 2012</title>
		<link rel="alternate" type="text/html" href="https://www.myroms.org/wiki/index.php?title=Matlab_Scripts&amp;diff=4549&amp;oldid=prev"/>
		<updated>2012-04-23T17:28:12Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:28, 23 April 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l18&quot;&gt;Line 18:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 18:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To check-out the scripts described here from the ROMS repository &amp;#039;&amp;#039;&amp;#039;matlab&amp;#039;&amp;#039;&amp;#039;, enter:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To check-out the scripts described here from the ROMS repository &amp;#039;&amp;#039;&amp;#039;matlab&amp;#039;&amp;#039;&amp;#039;, enter:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &amp;lt;span class=&quot;red&quot;&amp;gt;svn checkout &amp;lt;nowiki&amp;gt;https://www.myroms.org/svn/src/matlab&amp;lt;/nowiki&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;MyDir&lt;/del&gt;&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &amp;lt;span class=&quot;red&quot;&amp;gt;svn checkout &amp;lt;nowiki&amp;gt;https://www.myroms.org/svn/src/matlab&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;MyDir&#039;&#039;&#039;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;where &amp;#039;&amp;#039;&amp;#039;MyDir&amp;#039;&amp;#039;&amp;#039; is the destination directory on your local computer. It will be created if not found. If your &amp;#039;&amp;#039;&amp;#039;username&amp;#039;&amp;#039;&amp;#039; on your local computer is not the same as your ROMS username you will need to pass the &amp;#039;&amp;#039;&amp;#039;--username&amp;#039;&amp;#039;&amp;#039; option to &amp;#039;&amp;#039;&amp;#039;svn&amp;#039;&amp;#039;&amp;#039;:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;where &amp;#039;&amp;#039;&amp;#039;MyDir&amp;#039;&amp;#039;&amp;#039; is the destination directory on your local computer. It will be created if not found. If your &amp;#039;&amp;#039;&amp;#039;username&amp;#039;&amp;#039;&amp;#039; on your local computer is not the same as your ROMS username you will need to pass the &amp;#039;&amp;#039;&amp;#039;--username&amp;#039;&amp;#039;&amp;#039; option to &amp;#039;&amp;#039;&amp;#039;svn&amp;#039;&amp;#039;&amp;#039;:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &amp;lt;span class=&quot;red&quot;&amp;gt;svn checkout --username joe_roms &amp;lt;nowiki&amp;gt;https://www.myroms.org/svn/src/matlab&amp;lt;/nowiki&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;MyDir&lt;/del&gt;&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &amp;lt;span class=&quot;red&quot;&amp;gt;svn checkout --username joe_roms &amp;lt;nowiki&amp;gt;https://www.myroms.org/svn/src/matlab&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;MyDir&#039;&#039;&#039;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Although not necessary nowadays, the &amp;#039;&amp;#039;&amp;#039;MEXNC&amp;#039;&amp;#039;&amp;#039; interface can be downloaded from:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Although not necessary nowadays, the &amp;#039;&amp;#039;&amp;#039;MEXNC&amp;#039;&amp;#039;&amp;#039; interface can be downloaded from:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &amp;lt;span class=&quot;red&quot;&amp;gt;svn checkout &amp;lt;nowiki&amp;gt; https://mexcdf.svn.sourceforge.net/svnroot/mexcdf/mexnc/trunk&amp;lt;/nowiki&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;MyDir&lt;/del&gt;&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &amp;lt;span class=&quot;red&quot;&amp;gt;svn checkout &amp;lt;nowiki&amp;gt; https://mexcdf.svn.sourceforge.net/svnroot/mexcdf/mexnc/trunk&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;MyDir&#039;&#039;&#039;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;and the &amp;#039;&amp;#039;&amp;#039;SNCTOOLS&amp;#039;&amp;#039;&amp;#039; interface can be downloaded from:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;and the &amp;#039;&amp;#039;&amp;#039;SNCTOOLS&amp;#039;&amp;#039;&amp;#039; interface can be downloaded from:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &amp;lt;span class=&quot;red&quot;&amp;gt;svn checkout &amp;lt;nowiki&amp;gt; https://mexcdf.svn.sourceforge.net/svnroot/mexcdf/snctools/trunk&amp;gt;&amp;lt;/nowiki&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;MyDir&lt;/del&gt;&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &amp;lt;span class=&quot;red&quot;&amp;gt;svn checkout &amp;lt;nowiki&amp;gt; https://mexcdf.svn.sourceforge.net/svnroot/mexcdf/snctools/trunk&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;MyDir&#039;&#039;&#039;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;But recall that both the &amp;#039;&amp;#039;&amp;#039;MEXNC&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;SNCTOOLS&amp;#039;&amp;#039;&amp;#039; interfaces are obsolete if you have Matlab Version &amp;#039;&amp;#039;&amp;#039;2008b&amp;#039;&amp;#039;&amp;#039; or newer and Matlab Version &amp;#039;&amp;#039;&amp;#039;2012a&amp;#039;&amp;#039;&amp;#039; for accessing NetCDF files on an &amp;#039;&amp;#039;&amp;#039;OpenDAP&amp;#039;&amp;#039;&amp;#039; server. See description in the [[Matlab_Scripts#Introduction|above]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;But recall that both the &amp;#039;&amp;#039;&amp;#039;MEXNC&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;SNCTOOLS&amp;#039;&amp;#039;&amp;#039; interfaces are obsolete if you have Matlab Version &amp;#039;&amp;#039;&amp;#039;2008b&amp;#039;&amp;#039;&amp;#039; or newer and Matlab Version &amp;#039;&amp;#039;&amp;#039;2012a&amp;#039;&amp;#039;&amp;#039; for accessing NetCDF files on an &amp;#039;&amp;#039;&amp;#039;OpenDAP&amp;#039;&amp;#039;&amp;#039; server. See description in the [[Matlab_Scripts#Introduction|above]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Arango</name></author>
	</entry>
	<entry>
		<id>https://www.myroms.org/wiki/index.php?title=Matlab_Scripts&amp;diff=4548&amp;oldid=prev</id>
		<title>Arango: Created page with &quot;&#039;&#039;&#039;&#039;&#039;&#039;Bold text&#039;&#039;&#039;&#039;&#039;&#039;&lt;div class=&quot;title&quot;&gt;Matlab Scripts&lt;/div&gt;__NOTOC__  &lt;!-- Edit Template:Matlab_Scripts_TOC to modify this Table of Contents--&gt; &lt;div style=&quot;float: left;margin: 0…&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.myroms.org/wiki/index.php?title=Matlab_Scripts&amp;diff=4548&amp;oldid=prev"/>
		<updated>2012-04-23T17:24:41Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Bold text&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;Matlab Scripts&amp;lt;/div&amp;gt;__NOTOC__  &amp;lt;!-- Edit Template:Matlab_Scripts_TOC to modify this Table of Contents--&amp;gt; &amp;lt;div style=&amp;quot;float: left;margin: 0…&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Bold text&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;Matlab Scripts&amp;lt;/div&amp;gt;__NOTOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Edit Template:Matlab_Scripts_TOC to modify this Table of Contents--&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float: left;margin: 0 20px 0 0;&amp;quot;&amp;gt;{{Matlab Scripts TOC}}&amp;lt;/div&amp;gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
These pages describe a variety of Matlab scripts that can be used to pre-processing and post-processing ROMS data.  Since all the data in ROMS is managed with NetCDF files, some of these scripts use a NetCDF interface to Matlab to process the data.  There are several interfaces for Matlab available from third parties.  The most widely used interface are &amp;#039;&amp;#039;&amp;#039;MEXNC&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;SNCTOOLS&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{{note}} &amp;#039;&amp;#039;&amp;#039;However&amp;#039;&amp;#039;&amp;#039;, starting Matlab version &amp;#039;&amp;#039;&amp;#039;2012a&amp;#039;&amp;#039;&amp;#039;, released on Feb 9, 2012, the &amp;#039;&amp;#039;&amp;#039;native&amp;#039;&amp;#039;&amp;#039; interface to NetCDF is the preferred method for processing NetCDF data in the scripts distributed in the ROMS repository &amp;#039;&amp;#039;&amp;#039;matlab&amp;#039;&amp;#039;&amp;#039; and described here. The &amp;#039;&amp;#039;&amp;#039;native&amp;#039;&amp;#039;&amp;#039; interface was introduced in Matlab version &amp;#039;&amp;#039;&amp;#039;2008b&amp;#039;&amp;#039;&amp;#039; for &amp;#039;&amp;#039;&amp;#039;NetCDF-3&amp;#039;&amp;#039;&amp;#039; type files.  The &amp;#039;&amp;#039;&amp;#039;NetCDF-4&amp;#039;&amp;#039;&amp;#039; support started in version &amp;#039;&amp;#039;&amp;#039;2010b&amp;#039;&amp;#039;&amp;#039;.  The support for &amp;#039;&amp;#039;&amp;#039;HDF5&amp;#039;&amp;#039;&amp;#039; files was completed in version &amp;#039;&amp;#039;&amp;#039;2011a&amp;#039;&amp;#039;&amp;#039;.  The &amp;#039;&amp;#039;&amp;#039;OpenDAP&amp;#039;&amp;#039;&amp;#039; support began in version &amp;#039;&amp;#039;&amp;#039;2012a&amp;#039;&amp;#039;&amp;#039;.  If your Matlab version is older than 2008b, we highly recommend to update to the newest version.   However, in the basic generic scripts we have switches for older versions to activate either the &amp;#039;&amp;#039;&amp;#039;MEXNC&amp;#039;&amp;#039;&amp;#039; interface for standard NetCDF files and the &amp;#039;&amp;#039;&amp;#039;SNCTOOLS&amp;#039;&amp;#039;&amp;#039; interface to process NetCDF files on an &amp;#039;&amp;#039;&amp;#039;OpenDAP&amp;#039;&amp;#039;&amp;#039; server.&lt;br /&gt;
&lt;br /&gt;
Programming in Matlab is easy.  However, good and efficient programming in Matlab requires skill and time. We usually become better at it the more that we practice.  I started programming in Matlab in the earlier 1990&amp;#039;s. If I look back at my earlier scripts, they were horrendous and extremely inefficient. There were some scripts that would take around 30 minutes to execute. I can rewrite those scripts nowadays and if will take seconds to execute.  So we learn over the years how to program very efficiently.  We are constantly learning new tricks and new functions.  As ROMS, Matlab is always evolving.  Plotting in Matlab take also skill.  There is a lot of paper in the literature with very poor Matlab plots...&lt;br /&gt;
&lt;br /&gt;
==Repositories==&lt;br /&gt;
&lt;br /&gt;
To check-out the scripts described here from the ROMS repository &amp;#039;&amp;#039;&amp;#039;matlab&amp;#039;&amp;#039;&amp;#039;, enter:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;svn checkout &amp;lt;nowiki&amp;gt;https://www.myroms.org/svn/src/matlab&amp;lt;/nowiki&amp;gt; MyDir&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;#039;&amp;#039;&amp;#039;MyDir&amp;#039;&amp;#039;&amp;#039; is the destination directory on your local computer. It will be created if not found. If your &amp;#039;&amp;#039;&amp;#039;username&amp;#039;&amp;#039;&amp;#039; on your local computer is not the same as your ROMS username you will need to pass the &amp;#039;&amp;#039;&amp;#039;--username&amp;#039;&amp;#039;&amp;#039; option to &amp;#039;&amp;#039;&amp;#039;svn&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;svn checkout --username joe_roms &amp;lt;nowiki&amp;gt;https://www.myroms.org/svn/src/matlab&amp;lt;/nowiki&amp;gt; MyDir&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Although not necessary nowadays, the &amp;#039;&amp;#039;&amp;#039;MEXNC&amp;#039;&amp;#039;&amp;#039; interface can be downloaded from:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;svn checkout &amp;lt;nowiki&amp;gt; https://mexcdf.svn.sourceforge.net/svnroot/mexcdf/mexnc/trunk&amp;lt;/nowiki&amp;gt; MyDir&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the &amp;#039;&amp;#039;&amp;#039;SNCTOOLS&amp;#039;&amp;#039;&amp;#039; interface can be downloaded from:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;span class=&amp;quot;red&amp;quot;&amp;gt;svn checkout &amp;lt;nowiki&amp;gt; https://mexcdf.svn.sourceforge.net/svnroot/mexcdf/snctools/trunk&amp;gt;&amp;lt;/nowiki&amp;gt; MyDir&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But recall that both the &amp;#039;&amp;#039;&amp;#039;MEXNC&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;SNCTOOLS&amp;#039;&amp;#039;&amp;#039; interfaces are obsolete if you have Matlab Version &amp;#039;&amp;#039;&amp;#039;2008b&amp;#039;&amp;#039;&amp;#039; or newer and Matlab Version &amp;#039;&amp;#039;&amp;#039;2012a&amp;#039;&amp;#039;&amp;#039; for accessing NetCDF files on an &amp;#039;&amp;#039;&amp;#039;OpenDAP&amp;#039;&amp;#039;&amp;#039; server. See description in the [[Matlab_Scripts#Introduction|above]].&lt;br /&gt;
&lt;br /&gt;
==Directory Structure==&lt;br /&gt;
&lt;br /&gt;
The ROMS matlab repository has the following structure:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;span class=&amp;quot;twilightBlue&amp;quot;&amp;gt;matlab/                               Main directory&lt;br /&gt;
       /4dvar                          4D-Var observations processing scripts&lt;br /&gt;
       /bathymetry                     ROMS Grid bathymetry extraction and processing scripts&lt;br /&gt;
       /bin                            Repository processing .bash and .sh scripts &lt;br /&gt;
       /boundary                       Lateral boundary conditions processing scripts&lt;br /&gt;
       /coastlines                     Coastline extraction scripts&lt;br /&gt;
       /initial                        Initial conditions and climatology processing scripts&lt;br /&gt;
       /landmask                       Land/Sea masking processing scripts and GUIs&lt;br /&gt;
       /mex/                           MEX interface to C and Fortran programs&lt;br /&gt;
           /mexinside                  &amp;#039;&amp;#039;&amp;#039;inside&amp;#039;&amp;#039;&amp;#039; program&lt;br /&gt;
           /mexrect                    Curvilinear and rectilinear program&lt;br /&gt;
           /mexsepeli                  Sepeli conformal mapping&lt;br /&gt;
       /seagrid                        SeaGrid generation GUI&lt;br /&gt;
       /seawater                       Seawater properties scripts&lt;br /&gt;
       /utility                        Miscellaneous all purpose scripts&lt;br /&gt;
       /startup.m                      Use script configuration for Matlab&lt;br /&gt;
 &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;span class=&amp;quot;blue&amp;quot;&amp;gt;mexinside&amp;lt;/span&amp;gt; program is kind obsolete since Matlab offer the &amp;lt;span class=&amp;quot;blue&amp;quot;&amp;gt;inpolygon&amp;lt;/span&amp;gt; with the same functionality.&lt;/div&gt;</summary>
		<author><name>Arango</name></author>
	</entry>
</feed>