[Paraview] Load state error with MPAS Ocean NetCDFReader data type
Andy Bauer
andy.bauer at kitware.com
Mon Feb 17 13:20:29 EST 2014
Hi Phillip,
I have good news and bad news for this. The good news is that I have a fix
for the issue. The bad news is that the bug was in the reader itself so, as
far as I know, there's no way to save the state for this properly in
ParaView 4.1 and earlier. In case you want to patch vtkMPASReader.cxx
yourself, I attached it to the email.
I think the next release of ParaView should be along in 2 or 3 months. If
you're hoping for a solution faster than that we may be able to cook up a
Python script to help automate the process. Just let us know.
Regards,
Andy
ps. Note that I removed the MPAS developers mailing list from this and
added the MPAS users mailing list. I'm not sure if it will make it to the
MPAS users mailing list since I don't think I've been added to that though.
On Fri, Feb 14, 2014 at 1:47 PM, Wolfram, Phillip J <pwolfram at lanl.gov>wrote:
> Dear Paraview Mailing list,
>
> I am a developer on the MPAS-Ocean project and we are having trouble
> with saved states in Paraview corresponding to loading the netcdf (*.nc)
> data file, loading and plotting a variable (say kineticEnergyCell), saving
> the state as a psvm file, and then reloading it. At a minimum, the plotted
> quantity is not accessible and it doesn't appear that the data structure
> for MPAS-O is reloaded properly. This is the simplest reproducible error.
> John and Boonth (cc'd) recommended I email this list with this issue.
>
> A link to the files for debugging/ testing is
> https://www.dropbox.com/s/b4a0b056ks3i30r/mpaso_paraview.tgz.
>
> A work-around is to simply save the variables of interest as
> unstructured vtku files, but this is an imperfect solution (if only
> because multiple vtku files in time then become required). If vtku files
> are utilized there is no problem with the save/load state function.
>
> My present configuration is ParaView 4.1.0 64-bit for mac via the dmg
> installer (ParaView-4.1.0-Darwin-64bit.dmg).
>
> Thanks for taking a look at this and please let me know if you have
> additional questions,
>
> Phillip
>
> Phillip Wolfram
> (505) 667-7744
>
> Postdoc Research Associate
> Climate, Ocean and Sea Ice Modeling
> Los Alamos National Laboratory
> T-3, MS-B216
> P.O. Box 1663
> Los Alamos, NM 87545
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140217/0392b99b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtkMPASReader.cxx
Type: text/x-c++src
Size: 73271 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140217/0392b99b/attachment-0001.cxx>
More information about the ParaView
mailing list