[Paraview] Load state error with MPAS Ocean NetCDFReader data type
Andy Bauer
andy.bauer at kitware.com
Tue Feb 18 10:32:17 EST 2014
Hi Phillip,
Yes, if you recompile with the patch it will solve the problem. This fix
will make it into ParaView 4.2 (there may be a patch release of 4.1 and
I'll see if I can get it into that as well but I can't guarantee that). The
Python script would be a potential band-aid for covering ParaView 4.1 (I'm
not 100% sure it will do exactly what you want).
As for building ParaView, both the regular ParaView build and superbuild
use CMake. The main difference is that with ParaView's CMake build you'll
have to find all dependent libraries and possibly build or install them
yourself. The superbuild will get all of the dependent libraries and also
build them. If you're not that comfortable with building ParaView you may
be able to get John to do it since he's done it on a wide variety of
platforms.
Regards,
Andy
On Tue, Feb 18, 2014 at 9:52 AM, Wolfram, Phillip J <pwolfram at lanl.gov>wrote:
> Hi Andy,
>
> I have forwarded your email to the list so that the knowledge will be in
> broader use.
>
> Thanks for looking into this so promptly and including the patch. I'm
> assuming if I recompile via the patch the problem will be solved.
> Alternatively we could wait until the next binary release which will
> incorporate the fix, correct?. The python script would be for band-aid
> type hack covering the 4.1.0 version of Paraview in the meantime, right?
>
> One more question: if I am to patch the code myself should I use regular
> Paraview (git://paraview.org/ParaView.git) or the super-build variant (
> git://paraview.org/ParaViewSuperbuild.git)? It appears the biggest
> differences is that super build is based on cmake and therefore super build
> is preferable.
>
> Thanks,
> Phillip
>
> On Feb 17, 2014, at 11:20 AM, Andy Bauer <andy.bauer at kitware.com>
> wrote:
>
> 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
>>
>>
> <vtkMPASReader.cxx>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140218/ef646219/attachment-0001.html>
More information about the ParaView
mailing list