Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. You can find SOBEK output in the <projectname>.dsproj_data folder. Here you will find several files with the *.nc extension. These are NetCDF files. They correspond to the output selected in DeltaShell. Note: if this folder contains files with the extension *.nc.changes you have not saved your project after running the model. Save the project in DeltaShell before continuing. 

    Info

    NetCDF (Network Common Data Form) is an open standard for storing scientific data. Delft3D Flexible Mesh (and SOBEK) use the CF-1.0 convention.

  2. For this tutorial we will use the observation point output for water level. If you do not have a SOBEK model readily available, download the following output file: Water level (op).nc
  3. Open MATLAB and define a variable pointing to the *.nc file: 

    Code Block
    linenumberstrue
    ncfile = './Water level (op).nc'
  4. To display the contents of the file, use the following build in function. This will print a list of all variables and sizes to the command window. 

    Code Block
    linenumberstrue
    ncdisp(ncfile)
  5. In the next steps, we will extract the timesvalues and observation point names from the NetCDF file

    1. To extract time, 

 

Info

Content by Label
showLabelsfalse
max5
spacesSobek
sortmodified
showSpacefalse
reversetrue
typepage
labelstut-data tutorial