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.

Re: Example of 2D surface animation

> I have tried using   (time -> ((x, y) -> (z, temp))) but still I am not
> obtaining the expected result. Actually, I only want to see how the
> temperature changes over the surface with time, but it seems like the
> whole surface is moving with time.

Please send messages to the list rather than just to me.

You can see temps moving on a constant surface if you use
the same values for "z" in all time steps. You can reuse
the same float[] array of "z" values in the range float[][]
for each time step.

Good luck,
Bill

>From owner-visad@xxxxxxxxxxxxxxxx Tue 7  2004 Dec 18:44:29
Message-ID: <1102445069.41b5fa0d7be49@xxxxxxxxxxxxxxxxxxx>
Date: Tue,  7 Dec 2004 18:44:29 +0000
From: Adityarajsingh Santokhee <ads@xxxxxxxxxxxxxxxxxxxx>
In-Reply-To: <Pine.GSO.4.44.0412071225001.9354-100000@xxxxxxxxxxxxxxxxxxxxxx>
To: visad-list@xxxxxxxxxxxxx
Subject: Re: Example of 2D surface animation
Received: (from majordo@localhost)
        by unidata.ucar.edu (UCAR/Unidata) id iB7IigJG015473
        for visad-out; Tue, 7 Dec 2004 11:44:42 -0700 (MST)
Received: from ssec.wisc.edu (mahogany.ssec.wisc.edu [128.104.110.2])
        by unidata.ucar.edu (UCAR/Unidata) with ESMTP id iB7IiflI015469
        for <visad-list@xxxxxxxxxxxxxxxx>; Tue, 7 Dec 2004 11:44:42 -0700 (MST)
Organization: UCAR/Unidata
Keywords: 200412071844.iB7IiflI015469
Received: from vimg3.rdg.ac.uk ([134.225.1.80] verified)
  by ssec.wisc.edu (CommuniGate Pro SMTP 4.1.8)
  with ESMTP id 3359838 for visad-list@xxxxxxxxxxxxx; Tue, 07 Dec 2004 12:44:36 
-0600
Received: from vimp2.rdg.ac.uk ([134.225.16.91])
        by vimg3.rdg.ac.uk (Exim: gateway)
        with esmtp id 1CbkKB-0001Dj-00
        for visad-list@xxxxxxxxxxxxx; Tue, 07 Dec 2004 18:44:35 +0000
Received: from vimh1.rdg.ac.uk ([134.225.16.83])
        by vimp2.rdg.ac.uk (Exim: virusscanner)
        with esmtp id 1CbkK5-0005Yk-00
        for visad-list@xxxxxxxxxxxxx; Tue, 07 Dec 2004 18:44:29 +0000
Received: from mercury.nerc-essc.ac.uk ([192.171.166.1])
        by vimh1.rdg.ac.uk (Exim: host)
        with esmtp id 1CbkK5-0000X1-00
        for visad-list@xxxxxxxxxxxxx; Tue, 07 Dec 2004 18:44:29 +0000
Received: from sweeney.nerc-essc.ac.uk (sweeney [192.171.166.116])
        by mercury.nerc-essc.ac.uk (8.12.10/8.12.10) with ESMTP id 
iB7IiT1t026395
        for <visad-list@xxxxxxxxxxxxx>; Tue, 7 Dec 2004 18:44:29 GMT
Received: from localhost.localdomain (sweeney [127.0.0.1])
        by sweeney.nerc-essc.ac.uk (8.12.8/8.12.8) with ESMTP id iB7IiTml001021
        for <visad-list@xxxxxxxxxxxxx>; Tue, 7 Dec 2004 18:44:29 GMT
Received: (from apache@localhost)
        by localhost.localdomain (8.12.8/8.12.8/Submit) id iB7IiTs3001019
        for visad-list@xxxxxxxxxxxxx; Tue, 7 Dec 2004 18:44:29 GMT
Received: from brahman.nerc-essc.ac.uk (brahman.nerc-essc.ac.uk 
[192.171.166.139]) 
        by www.nerc-essc.ac.uk (IMP) with HTTP 
        for <ads@xxxxxxxxxxxxxxxxxxxxxxx>; Tue,  7 Dec 2004 18:44:29 +0000
References: <Pine.GSO.4.44.0412071225001.9354-100000@xxxxxxxxxxxxxxxxxxxxxx>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 3.2.2
X-Originating-IP: 192.171.166.139
X-Scanner: exiscan *1CbkK5-0005Yk-00*qyx1Q9DhBpo* (The University of Reading)
Sender: owner-visad@xxxxxxxxxxxxxxxx
Precedence: bulk

> You can see temps moving on a constant surface if you use
> the same values for "z" in all time steps. You can reuse
> the same float[] array of "z" values in the range float[][]
> for each time step.


I have in fact kept the "z" values constant. What I wanted to say is that the
lat-lon surface is actually moving along the longitude axis with each
timestep.

Maybe I need to change the way I am defining my Math Types/scalar Maps.

Cheers,
Adit


Quoting Bill Hibbard <billh@xxxxxxxxxxxxx>:

> > I have tried using   (time -> ((x, y) -> (z, temp))) but still I am not
> > obtaining the expected result. Actually, I only want to see how the
> > temperature changes over the surface with time, but it seems like the
> > whole surface is moving with time.
> 
> 
> You can see temps moving on a constant surface if you use
> the same values for "z" in all time steps. You can reuse
> the same float[] array of "z" values in the range float[][]
> for each time step.
> 
> Good luck,
> Bill
> 
> 


-----------------------------------------------------------------------
 Adityarajsingh Santokhee         Tel: +44 118 378 5213 (direct line)
 eScience Data Manager            Tel: +44 118 378 8741 (ESSC)
 Reading e-Science Centre         Fax: +44 118 378 6413
 ESSC                             Email: ads@xxxxxxxxxxxxxxxxxxxx
 University of Reading
 3 Earley Gate
 Reading RG6 6AL, UK

-----------------------------------------------------------------------

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

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