TUFLOW NetCDF Raster Output Format: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 4:
<br>
There are a range of additional NetCDF related commands, to control the output further these are:<br>
<font color="blue"><tt>NetCDF Output Compression </tt></font> <font color="red"><tt>==</tt></font><tt> {OFF} | {ON} | compression level <0 – 9>
</tt><br>
<font color="blue"><tt>NetCDF Output Start Date </tt></font> <font color="red"><tt>==</tt></font><tt> {2000-01-01 00:00} | OFF | <date in isodate format>
Line 11:
</tt><br>
<font color="blue"><tt>NetCDF Output Direction </tt></font> <font color="red"><tt>==</tt></font><tt> {ANGLE} | BEARING</tt><br>
<font color="blue"><tt>NetCDF Output Format </tt></font> <font color="red"><tt>==</tt></font><tt> {GenericFEWS} | FEWSGeneric</tt><br>
<br>
Please refer to the <u>[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW manualManual]</u> for more details on these commands.
 
=File Format=
Line 25:
* References - The documentation of the NetCDF file, i.e. this page!
* Comment - A description of the output.
* NetCDF File Format Version - A unique value for file version, for the 2017 version this is 2.
* NetCDF Data Type - This is 1 for "NC" raster output and 2 for <u>[[TUFLOW_NetCDF_Cell_Centre_Output_Format | "NC" cell centered results]]</u>.
An example of the '''Global Attributes''' is:
<pre>
Line 33 ⟶ 35:
comment = 'Contains raster TUFLOW output, TUFLOW netcdf version: 1'
</pre>
 
==Dimensions==
The output NetCDF will have three or four dimensions depending on if the '''Generic''' or '''FEWS''' format has been specified. These are:
Line 134 ⟶ 137:
===Non Temporal Variables===
There are currently two output formats from TUFLOW, this is controlled with the command:<br>
<font color="blue"><tt>NetCDF Output Format </tt></font> <font color="red"><tt>==</tt></font><tt> {GenericFEWS} | FEWSGeneric</tt><br>
The file formats are very similar, but for the FEWS format (default) the non-temporal variables have a time associated with them to allow them to display correctly in FEWS.
For the generic output (which is the default or hasrequires "<font color="blue"><tt>NetCDF Output Format </tt></font> <font color="red"><tt>==</tt></font><tt> Generic</tt>"), the data is stored in an array that has the dimensions x and y:
<pre>
maximum_depth
Line 146 ⟶ 149:
</pre>
<br>
For the FEWS output (which is the default or has "<font color="blue"><tt>NetCDF Output Format </tt></font> <font color="red"><tt>==</tt></font><tt> FEWS</tt>" specified), the data is stored in an array that has the dimensions x, y and static_time:
<pre>
maximum_depth