Re: [Paraview] animation: files, pgmable source

2017-12-09 Thread Utkarsh Ayachit
Randy,

Here's how I'd proceed.

1. Create a programmable source to read a file series as a temporal
dataset. (you have this already).
2. Let the users use ParaView to save animation or screenshots once
they are satisfied.
3. You can put the "Extract TimeSteps" filter after your reader
(before any of the other pipeline) and make it filter timesteps. It
allows filtering over a range of timesteps with an arbitrary interval.
So your users can change this to choose which subset they are
interested in. I'd also point to the "Time INspector" so user can see
what timesteps ParaView is taking into consideration.

Utkarsh



On Fri, Dec 8, 2017 at 3:29 PM, Heiland, Randy  wrote:
> Have a user read in a state file to experiment with a pipeline/filters on a 
> single data file, e.g. they may have 1000 files and they want to initially  
> look at the last one. When they’re content with the vis on a single file, 
> they’d like to view an animation in PV on all (or mod N) files. When they’re 
> happy with that, they’d like to save .png’s - preferably batch/offscreen, but 
> whatever.
>
> Randy
>
>
>> On Dec 8, 2017, at 3:07 PM, Utkarsh Ayachit  
>> wrote:
>>
>> Randy,
>>
>> Mind explaining to me what;s your ultimate goal? The way I see it,
>> there are two options:
>>
>> 1. Provide your users with a state file that they load in ParaView UI
>> and then use the UI to save animation or images. Use the UI to move
>> back and forth through the timesteps, etc.
>> 2. Provide your users with a Python script that they run using
>> pvpython to save out screenshots or animations based on command line
>> arguments.
>>
>> Which one are you aiming for? Or is it something else?
>>
>> Utkarsh
>>
>>
>>
>> On Fri, Dec 8, 2017 at 11:22 AM, Heiland, Randy  wrote:
>>> No, no, I’m sure it’s *me* who’s confused.  I’m not sure I understand what 
>>> you’re saying. Are you suggesting keeping the (full) range of timesteps in 
>>> my script and then, somehow, only render the one of interest? If so, that 
>>> would be great, except the way things are currently working for me, after 
>>> loading the .pvsm initially, it renders the first requested tilmestep, but 
>>> I cannot just enter a desired timestep value into the “Time” widget field. 
>>> I can only single step through them via the up/down arrow widget.
>>>
>>> Not sure if it’s related, but after loading the state file, in the Output 
>>> Messages, I get the following error/warning, even though it does render the 
>>> first one properly:
>>>
>>> Traceback (most recent call last):
>>>  File "", line 20, in 
>>>  File "", line 34, in RequestInformation
>>> TypeError: arguments do not match any overloaded methods
>>> --- time=  100.0
>>> fname= 
>>> /Users/heiland/git/PhysiCell/run2_cancer_immune/output0100_cells_physicell
>>> num_cells_possible = 38080
>>> num_cells = 38080
>>>
>>> I’ve attached my Programmable Source Script and Script(RequestInfo), fwiw. 
>>> Line 34 of RequestInfo is the very last line in that script.
>>> output.GetInformation().Set(output.DATA_TIME_STEP(), req_time)
>>>
>>>
>>> thanks!
>>> Randy
>
___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] curvilinear CF conventions

2017-12-09 Thread Moreland, Kenneth
David,

The netCDF/CF reader should be able to read curvilinear coordinates. There is 
not enough information in your email to determine whether the issue is with the 
ParaView reader or an issue with the data file. It would be helpful if you 
could send us an example file so we can replicate your problem.

-Ken

Sent from my iPad

On Dec 9, 2017, at 9:12 AM, David Deepwell 
> wrote:


Hi all,

I have a netcdf file that follows the CF conventions in curvilinear 
(structured) coordinates. Paraview however doesn't recognize the auxiliary 
variable as the grid variable on which the rest of the fields should be plotted 
on. I'm not sure if this a bug with paraview misinterpreting the CF convention 
or if I just happen to have an attribute missing that Paraview is looking for.

Cheers,
David

___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] curvilinear CF conventions

2017-12-09 Thread David Deepwell
Hi all,

I have a netcdf file that follows the CF conventions in curvilinear 
(structured) coordinates. Paraview however doesn’t recognize the auxiliary 
variable as the grid variable on which the rest of the fields should be plotted 
on. I’m not sure if this a bug with paraview misinterpreting the CF convention 
or if I just happen to have an attribute missing that Paraview is looking for.

Cheers,
David
___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Memory issue for remote visualization

2017-12-09 Thread Joachim Pouderoux
Dennis,

I guess in this case, the memory inspector shows the process memory limit
(RLIMIT_AS) and not the system memory size.
Did you consider the use of `ulimit`?
You can calling something like: ulimit -u unlimited

Best,
Joachim

*Joachim Pouderoux*, PhD

*Technical Expert - Scientific Computing Team*
*Kitware SAS *


2017-12-06 16:26 GMT-04:00 Dennis Conklin :

> All,
>
>
>
> As we start down the road to parallel visualization, our first baby steps
> are to try remote visualization.
>
>
>
> In Redhat, I ssh onto a node with ~30 gigs of memory available (free -m)
> I start pvserver.
>
> Back on my machine I launch paraview541 and connect to the server.  The
> Memory Inspector shows 2.1 GB of total system ram on the server.
>
> If I try to load a model of any size, the server bombs on a segmentation
> error (memory).
>
>
>
> If I log onto the remote node with 30 GB free memory, I can only run
> standalone paraview if I use the –mesa-llvm command line.   When I do
> this,  Memory Inspector in standalone Paraview says there is only 2.1 GB of
> total system memory.
>
>
>
> Am I missing something – I don’t see  how this is ever going to work if
> neither a remote paraview or a remote pvserver can see and/or access the
> available free memory on the remote machine.
>
>
>
> Thanks for any hints
>
>
>
> Dennis
>
> ___
> 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview