Hello Yes I am happy to post the source code anywhere you like! Let me tell you more about this utility that I've written:
1. The utility is generateXDMF.f90 (435 lines) ... plus adcmesh.f90 (263 lines), both written in fortran (since the developer community for this model is most familiar with fortran). 2. Highly specific to the ADCIRC finite element coastal ocean model (i.e., unstructured data); not a general utility for any random type of netcdf4 output. But could be useful as an example code for other Paraview users. 3. Uses netcdf calls (not hdf5 calls) to open the data files, figure out the dimensions, etc. Our community is more familiar with netcdf. 4. Recognizes 15 different ADCIRC output files and is able to write XDMF for them. 5. Supports only 2D depth integrated ADCIRC output, but support for 3D ADCIRC output would be straightforward to add. 6. Supports time varying ADCIRC output by writing datasets as a Temporal Collection in the xml. Mainly, I just wanted to point out that this is not a general tool, but is specific to the data files produced by the ADCIRC model. I've not used git yet (my projects all rely on svn), and I'm not sure what is the best way to post to the XDMF wiki. Please advise. I'll email the source code to the kitware developers directly to provide more complete info. Cheers Jason On Wed, 2012-08-22 at 10:57 -0400, Aashish Chaudhary wrote: > On Wed, Aug 22, 2012 at 10:30 AM, David E DeMarle > <[email protected]> wrote: > On Wed, Aug 22, 2012 at 10:14 AM, Jason Fleming > <[email protected]> wrote: > > Yes, I do this all the time. I work with a coastal ocean > model that > > generates netcdf4-formatted output (which is hdf5, as you > say). > > > Nice! > > > I wrote a little utility that looks at the netcdf4 data file > and > > generates a small ascii xml file in XDMF format to accompany > and > > describe the much larger netcdf4 data file. Then I start > paraview, load > > the xml file, and visualize the data. > > > Is this something you can put up on github? And post a link to > on the xdmf wiki? > > > Nice! Like Dave mentioned would be nice to have the source code > available on github. > > > > > > Cheers > > Jason > > > > On Tue, 2012-08-21 at 22:28 -0500, William Oquendo wrote: > >> Hello, > >> > >> The latest version of netcdf uses hdf5 as the printing > backend, if > >> compiled. Is it possible to use xdmf together with netcdf > to visualize > >> in Paraview? or, as an aside question, is there a way to > convert from > >> netcdf to hdf5? Thanks a lot. > >> > >> Best regards / Cordialmente, > >> > >> William-Fernando Oquendo > >> -------------------------- > >> Este correo puede carecer de tildes o eñes debido al > teclado. > >> > >> > >> > >> _______________________________________________ > >> Powered by www.kitware.com > >> > >> Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > >> > >> Please keep messages on-topic and check the ParaView Wiki > at: http://paraview.org/Wiki/ParaView > >> > >> Follow this link to subscribe/unsubscribe: > >> http://www.paraview.org/mailman/listinfo/paraview > > > > -- > > Dr. Jason G. Fleming > > Chief Engineer, Seahorse Coastal Consulting > > 3103 Mandy Ln > > Morehead City, NC 28557 > > Tel: (252) 726-6323 > > Mobile: (252) 269-0962 > > Web: http://www.seahorsecoastal.com > > > > > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > > > Please keep messages on-topic and check the ParaView Wiki > at: http://paraview.org/Wiki/ParaView > > > > Follow this link to subscribe/unsubscribe: > > http://www.paraview.org/mailman/listinfo/paraview > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > http://www.paraview.org/mailman/listinfo/paraview > > > > > > -- > | Aashish Chaudhary > | R&D Engineer > | Kitware Inc. > | www.kitware.com -- Dr. Jason G. Fleming Chief Engineer, Seahorse Coastal Consulting 3103 Mandy Ln Morehead City, NC 28557 Tel: (252) 726-6323 Mobile: (252) 269-0962 Web: http://www.seahorsecoastal.com _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
