<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>OpenEarthTools in Matlab v. 2017</title>
  <link rel="self" href="https://dlt-acc.firelay.cloud/c/message_boards/find_thread?p_l_id=4041874&amp;threadId=4392230" />
  <subtitle>OpenEarthTools in Matlab v. 2017</subtitle>
  <id>https://dlt-acc.firelay.cloud/c/message_boards/find_thread?p_l_id=4041874&amp;threadId=4392230</id>
  <updated>2026-05-12T18:34:23Z</updated>
  <dc:date>2026-05-12T18:34:23Z</dc:date>
  <entry>
    <title>RE: OpenEarthTools in Matlab v. 2017</title>
    <link rel="alternate" href="https://dlt-acc.firelay.cloud/c/message_boards/find_message?p_l_id=4041874&amp;messageId=4392449" />
    <author>
      <name>Erik de Rooij</name>
    </author>
    <id>https://dlt-acc.firelay.cloud/c/message_boards/find_message?p_l_id=4041874&amp;messageId=4392449</id>
    <updated>2018-01-18T17:37:26Z</updated>
    <published>2018-01-18T17:37:26Z</published>
    <summary type="html">Hi! &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Anyone knows why I am getting this kind of error on my mesh? &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Please, Look at the figures. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;As you can see, I tried a simple rectangle and the same kind of thing.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Bruno.</summary>
    <dc:creator>Erik de Rooij</dc:creator>
    <dc:date>2018-01-18T17:37:26Z</dc:date>
  </entry>
  <entry>
    <title>RE: OpenEarthTools in Matlab v. 2017</title>
    <link rel="alternate" href="https://dlt-acc.firelay.cloud/c/message_boards/find_message?p_l_id=4041874&amp;messageId=4392410" />
    <author>
      <name>Bob Smits</name>
    </author>
    <id>https://dlt-acc.firelay.cloud/c/message_boards/find_message?p_l_id=4041874&amp;messageId=4392410</id>
    <updated>2018-01-12T16:53:47Z</updated>
    <published>2018-01-12T16:53:47Z</published>
    <summary type="html">Hi Karoline,&lt;br /&gt;&lt;br /&gt;Due to an update in the output format, some of the Matlab scripts for post-processing did not work anymore. I will try to answer both your questions:&lt;br /&gt;&lt;br /&gt;1) I just comitted updates of the scripts &amp;#39;readMap.m&amp;#39;. &amp;#39;readNet.m&amp;#39;, &amp;#39;plotMap.m&amp;#39; and &amp;#39;readMap.m&amp;#39; to Open Earth Toolbox for 2D applications. Please try to update your local copy of the repository. If you use SVN Tortoise, this can easily be done by right-clicking the folder you want to update and click &amp;#39;SVN update&amp;#39;.&lt;br /&gt;&lt;br /&gt;2) I did not run into any problems with the script &amp;#39;readHis.m&amp;#39;. However, the variable names may have changed due to the update in output format. Is the variable you want to open &amp;#39;cross_section_cumulative_discharge&amp;#39;?&lt;br /&gt;As a sidenote, you can always check filenames using &amp;#39;nc_dump(filename)&amp;#39;.&lt;br /&gt;&lt;br /&gt;Hope this helps. Else, let me know!&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Bob</summary>
    <dc:creator>Bob Smits</dc:creator>
    <dc:date>2018-01-12T16:53:47Z</dc:date>
  </entry>
  <entry>
    <title>RE: OpenEarthTools in Matlab v. 2017</title>
    <link rel="alternate" href="https://dlt-acc.firelay.cloud/c/message_boards/find_message?p_l_id=4041874&amp;messageId=4392396" />
    <author>
      <name>Erik de Rooij</name>
    </author>
    <id>https://dlt-acc.firelay.cloud/c/message_boards/find_message?p_l_id=4041874&amp;messageId=4392396</id>
    <updated>2017-12-12T17:39:41Z</updated>
    <published>2017-12-12T17:39:41Z</published>
    <summary type="html">Hello everyone!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I have the some problem. Could anyone help us, please?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Bruno.</summary>
    <dc:creator>Erik de Rooij</dc:creator>
    <dc:date>2017-12-12T17:39:41Z</dc:date>
  </entry>
  <entry>
    <title>OpenEarthTools in Matlab v. 2017</title>
    <link rel="alternate" href="https://dlt-acc.firelay.cloud/c/message_boards/find_message?p_l_id=4041874&amp;messageId=4392229" />
    <author>
      <name>Karoline Wischnewski</name>
    </author>
    <id>https://dlt-acc.firelay.cloud/c/message_boards/find_message?p_l_id=4041874&amp;messageId=4392229</id>
    <updated>2017-08-09T12:05:11Z</updated>
    <published>2017-08-09T12:05:11Z</published>
    <summary type="html">Hello everyone,&lt;br /&gt;&lt;br /&gt;I am trying to use the OpenEarthTools with the newest Matlab version (R2017a). I downloaded the complete set of files in the /trunk/matlab directory from the deltares server. Trying to acces data within Delft FLow FM outputfiles  I get confronted with the following issue:&lt;br /&gt;&lt;br /&gt;1) launching via the MATLAB command line with oetsettings and trying to import a map.nc file with the command (I followed the procedure of the video https://www.youtube.com/watch?v=i6xiF39xn8M)&lt;br /&gt;          ncfile = &amp;#39;map.nc&amp;#39;;&lt;br /&gt;          map=dflowfm.readMap(ncfile)&lt;br /&gt;    returns the error&lt;br /&gt; &lt;br /&gt;          Field assignment to a non-structure array object.&lt;br /&gt;          Error in dflowfm.readNetOld (line 132)&lt;br /&gt;                      G.edge.FlowLinkType.flag_values   = nc_attget(ncfile, &amp;#39;FlowLinkType&amp;#39;,&amp;#39;flag_values&amp;#39;);&lt;br /&gt;          Error in dflowfm.readNet (line 128)&lt;br /&gt;                      G = dflowfm.readNetOld(ncfile);&lt;br /&gt;          Error in dflowfm.readMap (line 68)&lt;br /&gt;                      G      = dflowfm.readNet(ncfile);&lt;br /&gt;&lt;br /&gt;I also tried doing the same as before but with a history-file, which resulted in a different error&lt;br /&gt;&lt;br /&gt;Error using netcdflib&lt;br /&gt;The NetCDF library encountered an error during execution of &amp;#39;inqVarID&amp;#39; function - &amp;#39;Variable not found (NC_ENOTVAR)&amp;#39;.&lt;br /&gt;Error in netcdf.inqVarID (line 21)&lt;br /&gt;         varid = netcdflib(&amp;#39;inqVarID&amp;#39;, ncid, varname);&lt;br /&gt;Error in nc_varget_tmw&amp;gt;varget (line 62)&lt;br /&gt;         varid=netcdf.inqVarID(gid,varname);&lt;br /&gt;Error in nc_varget_tmw&amp;gt;varget_nc (line 24)&lt;br /&gt;         [data,info] = varget(ncid,varname,varargin{:});&lt;br /&gt;Error in nc_varget_tmw (line 5)&lt;br /&gt;         [data,info] = varget_nc(ncfile,varname,varargin{:});&lt;br /&gt;Error in nc_vargetr (line 38)&lt;br /&gt;   	 [data,info] = nc_varget_tmw(ncfile,varname,varargin{:});&lt;br /&gt;Error in nc_varget (line 35)&lt;br /&gt;         [data,info] = nc_vargetr(ncfile,varname,varargin{:});&lt;br /&gt;Error in dflowfm.readHis (line 41)&lt;br /&gt;         hisdata.cross_section_discharge_int = nc_varget(filename, &amp;#39;cross_section_cumulative_discharge&amp;#39;);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I tried with several different map-output files from different runs and projects and always get the same error. Is this due to the newer version of Matlab or am i missing something? Those files definitely contain data, as they can be opened using quickplot.&lt;br /&gt;&lt;br /&gt;Any help or advice on what to try would be appreciated,&lt;br /&gt;&lt;br /&gt;Thank you,&lt;br /&gt;Karoline</summary>
    <dc:creator>Karoline Wischnewski</dc:creator>
    <dc:date>2017-08-09T12:05:11Z</dc:date>
  </entry>
</feed>
