NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

[netcdfgroup] Re: How to display triangular finite elements mesh

Dear Rich

I rewrite at your question.

I use a mathematical model applicated to lagoon system.
I take the model output results I need , for example see level, substances,
spread by the tidal current, concentration..., and I stored them in a NetCdf
file..
I had build a program written in Fortran f90 that creates automatically the
NetCdf file using own Netcdf APi routine.
When I write the Netcdf File I use CF and COARDS convention.

I attach an exemple of the nc.file and the same in cdl format for a first
reading.

What i Need is a software that can read my netcdf file to display the data
stored in it, for a dinamic visualization!
Can you help me to understand the step I must take?

Matteo Previdi

I'm Interesting in knowing your projects about NetCdf develops...maybe to do
something alltogheter!



From: "Richard Signell" <rsignell@xxxxxxxxx>
To: "Matteo Previdi" <mPrevidi@xxxxxxxxxx>
Sent: Friday, February 20, 2009 5:12 PM
Subject: Re: [netcdfgroup] How to display triangular finite elements mesh
stored in netcdf


> Matteo,
>
> If you have a sample file that you could place on a web site, we could
> love to look at it.
>
> Ciao,
> -Rich
>
> On Fri, Feb 20, 2009 at 9:37 AM, Matteo Previdi <mPrevidi@xxxxxxxxxx>
> wrote:
>>
>> Dear Sirs,
>> I write you illustrating my problem and hoping you can help me in order =
>> to solve it.
>>
>> The problem is the following (apparently, very simple):
>>
>> <<< I need to display a map of a TRIANGULAR FINITE ELEMENT MESH stored =
>> in Netcdf file. Can be possible using your software to visualize it? >>>
>>
>> I try to explain clearly what I have done to build up the TRIANGULAR =
>> FINITE ELEMENT MESH Netcdf file.
>>
>> I have built a netcdf file (see below) with a unstructured grid =
>> (triangular mesh) following some example (FVCOM, QUODDY, etc.). The =
>> files' structure is more or less the same. Apparently, at the end of my =
>> work I have set up a normal Tin file (file of a triangular mesh) in =
>> Netcdf format.
>>
>> At this point, I have tried to use NcBrowse and Panolopy softwares to =
>> visualize the mesh but it has been impossible. Let's take note that, at =
>> the contrary, the same programs worked normally with a regular grid =
>> representing the same variables.
>>
>> Can you say me if your software is able to do visualize a TRIANGULAR =
>> FINITE ELEMENT MESH as mine? Or, can you give me the exact structure =
>> that I have to follow to create a TRIANGULAR FINITE ELEMENT MESH Netcdf =
>> file workable with your program (general standard).
>>
>> If the answer to my question is positive I could be really interested to
>> =
>> buy YOUR SOFTWARE.
>>
>> At your disposal for any further question and clarification.
>>
>> Thanks very much
>> Matteo Previdi
>>
>> CREA Srl
>> Corso Milano 9 Verona
>> emai:matteo@xxxxxxxxxx
>>
>> netcdfgroup mailing list
>> netcdfgroup@xxxxxxxxxxxxxxxx
>> For list information or to unsubscribe,  visit:
>> http://www.unidata.ucar.edu/mailing_lists/
>>
>
>
>
> --
> Dr. Richard P. Signell   (508) 457-2229
> USGS, 384 Woods Hole Rd.
> Woods Hole, MA 02543-1598


example of nc file translated in CDL format.
Some part of the file are omissed



 dimensions:
   Asse_X = 14429;
   Asse_Y = 14429;
   Asse_Z = 14429;
   Node = 14429;
   Cells = 25319;
   nNbd = 3722;
   Nbi = 4;
   Connections = 3;
   Time = UNLIMITED;   // (2 currently)   // (has coord.var)
 variables:
   float Asse_X(Node=14429);
     :standard_name = "Asse_X";
     :units = "degrees_east";
     :mesh = "Mesh";
     :actual_range = 12.131293f, 12.580233f; // float
   float Asse_Y(Node=14429);
     :standard_name = "Asse_Y";
     :units = "degrees_north";
     :mesh = "Mesh";
     :actual_range = 45.110603f, 45.496544f; // float
   float Asse_Z(Node=14429);
     :standard_name = "Asse_Z";
     :units = "[m]";
     :mesh = "Mesh";
     :actual_range = -1.0f, 34.57f; // float
   int Mesh(Connections=3, Cells=25319);
     :X_nodal_coordinate = "Asse_X";
     :Y_nodal_coordinate = "Asse_Y";
     :Z_nodal_coordinate = "Asse_Z";
     :standard_name = "cell_connectivity_indices";
     :spatial_dimension = "3";
     :topological_dimension = "2";
     :cell_type = "NC_TRI";
     :units = "index_start_1";
   int nNbd(nNbd=3722, Nbi=4);
     :long_name = "Boundary_Segment_Node_List";
     :units = "index_start_1";
   float REL(Time=2, Node=14429);
     :units = "[m]";
     :X_nodal_coordinate = "Asse_X";
     :Y_nodal_coordinate = "Asse_Y";
     :grid = "Mesh";
     :grid_location = "Edges";
     :positive = "Down";
     :long_name = "Bathymetry";
     :actual_range = -34.57f, 1.117f; // float
   float H(Time=2, Node=14429);
     :units = "[m]";
     :X_nodal_coordinate = "Asse_X";
     :Y_nodal_coordinate = "Asse_Y";
     :grid = "Mesh";
     :grid_location = "Edges";
     :actual_range = -0.47f, 1.009f; // float
   float 0001(Time=2, Node=14429);
     :units = "[u.i./m2]";
     :X_nodal_coordinate = "Asse_X";
     :Y_nodal_coordinate = "Asse_Y";
     :grid = "Mesh";
     :grid_location = "Edges";
     :actual_range = -0.47f, 1141.3494f; // float
   float U(Time=2, Node=14429);
     :units = "[m/s]";
     :X_nodal_coordinate = "Asse_X";
     :Y_nodal_coordinate = "Asse_Y";
     :grid = "Mesh";
     :grid_location = "Edges";
     :long_name = "Northward Water Velocity";
     :actual_range = -1.314f, 341.87106f; // float
   float V(Time=2, Node=14429);
     :units = "[m/s]";
     :X_nodal_coordinate = "Asse_X";
     :Y_nodal_coordinate = "Asse_Y";
     :grid = "Mesh";
     :grid_location = "Edges";
     :long_name = "Eastward Water Velocity";
     :actual_range = -1.4745f, 1.8604f; // float
   double Time(Time=2);
     :standard_name = "Time";
     :units = "hours since 1-1-1 00:00:00.0";
     :actual_range = 1.756944E7f, 1.7569442E7f; // float
     :Data_Simulazione = "2005-04-23 00:00:00.00 +00:00";
     :delta_t = "0000-00-00 01:00:00.00 +00:00";
     :n_time_step = "         2";
     :_CoordinateAxisType = "Time";

 :Conventions = "COARDS";
 :Lib_ver = 10101; // int
 :Description = "NetCdf";
 :Model = "Sml by CREA Srl";
 :History = "Converted from c:\ModMef\MefOut\zirino3\zirino3_7.smh to ";
 :Creation_Time = "11  2 2009  H 16.19.19.019 (system local time)";
}

Variable "Asse_X"

   float Asse_X(Node=14429);
     :standard_name = "Asse_X";
     :units = "degrees_east";
     :mesh = "Mesh";
     :actual_range = 12.131293f, 12.580233f; // float

Variable "Mesh"

   int Mesh(Connections=3, Cells=25319);
     :X_nodal_coordinate = "Asse_X";
     :Y_nodal_coordinate = "Asse_Y";
     :Z_nodal_coordinate = "Asse_Z";
     :standard_name = "cell_connectivity_indices";
     :spatial_dimension = "3";
     :topological_dimension = "2";
     :cell_type = "NC_TRI";
     :units = "index_start_1";
------=_NextPart_000_00D8_01C995B1.26139F60--



  • 2009 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: