-- (Bob) Yunyue YU Code 971, Goddard Space Flight Center Greenbelt, MD 20771 (301)614-6850 yuy@nemo.gsfc.nasa.gov
--- Begin Message ---
- To: yuy@xxxxxxxxxxxxxxxxxx
- Subject: Delivery Notification: Delivery has failed
- From: PMDF e-Mail Interconnect <postmaster@xxxxxxxxxxxxx>
- Date: Tue, 20 May 2003 15:13:59 -0700 (PDT)
This report relates to a message you sent with the following header fields: Message-id: <3ECAA8A0.83E5E4D2@nemo.gsfc.nasa.gov> Date: Tue, 20 May 2003 18:13:52 -0400 From: Bob Yu <yuy@nemo.gsfc.nasa.gov> Subject: Re: How to add new functions to Analysis list? Your message cannot be delivered to the following recipients: Recipient address: las_user@ferret.wrc.noaa.gov Reason: Remote SMTP server has rejected address Diagnostic code: smtp;550 5.1.1 <las_user@ferret.wrc.noaa.gov>... User unknown Remote system: dns;ferret.wrc.noaa.gov (ferret.pmel.noaa.gov ESMTP Sendmail 8.11.6/8.11.6; Tue, 20 May 2003 15:13:59 -0700)Reporting-MTA: dns;RHO.PMEL.NOAA.GOV Action: failed Status: 5.1.1 (Remote SMTP server has rejected address) Original-recipient: rfc822;las_user@ferret.wrc.noaa.gov Final-recipient: rfc822;las_user@ferret.wrc.noaa.gov Remote-MTA: dns;ferret.wrc.noaa.gov (ferret.pmel.noaa.gov ESMTP Sendmail 8.11.6/8.11.6; Tue, 20 May 2003 15:13:59 -0700) Diagnostic-code: smtp;550 5.1.1 <las_user@ferret.wrc.noaa.gov>... User unknown--- Begin Message ------ End Message ---Jon,
- Subject: Re: How to add new functions to Analysis list?
- From: Bob Yu <yuy@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 20 May 2003 18:13:52 -0400
- Cc: las_user@xxxxxxxxxxxxxxxxxxx
- References: <Pine.SOL.4.10.10304141432050.9716-100000@niwot.scd.ucar.edu><3EC5132A.F1FF5E0E@nemo.gsfc.nasa.gov> <3EC5191E.273C21BF@noaa.gov><3EC52198.4BE9CA9@nemo.gsfc.nasa.gov> <3EC54C9D.DA6EDBF4@nemo.gsfc.nasa.gov><3EC915EA.5D125F74@noaa.gov>
- Sender: yuy@xxxxxxxxxxxxxxxxxxxxxxx
Thanks a lot for the response. It looks to me that I have to use init_script/custom to define the FFT variable for now.. In practice, there are still difficulties to do so:
1) too many xml editing for all the variables that need to perform teh FFT (variable, tag, ferret_init tag, grid, axis for each new variable);
2) it is hard to write a generic ferret script that can be used for different variables. In other words, each new variable may request for a ferret script.
3) the ferret FFT will be bailed out if the variable contains missin/fill values. I am think to write an externall ferret function to deal with that.All of the above problems are because of the pre-defined FFT variables in dataset xml files, not like the anlysis list functions in "define variable" option that performs a generic operation on variables.
I am not sure if the above comments are correct.
Thanks.
Bob
Jonathan Callahan wrote:
Bob,You're asking a reasonable question that we can't easily address yet. In our first pass at providing analysis functionality through LAS we opted to work only with those Ferret functions that compress along an axis. Thus, in Ferret speak:
let temperature_aveX_aveY = temp[x=xlo:xhi@ave,y=ylo:yhi@ave,t=tlo:thi]
results in a time series. The code that creates this definition is in the file Ferret.pl. It is the job of this file to convert incoming LAS requests into a series of Ferret commands. We consider this to be core LAS code that we don't want you to mess with as it becomes increasingly difficult to for us offer debugging help when you do.
The FFT function does not follow our standard paradigm of reducing axis regions to points so we don't support it for now. If you really need FFT output, one way to add it would be to create a new operation. Alternatively, you could create a new set of FFT variables that used an init_script and/or custom output scripts to define and display the FFT variable. This might be a reasonable solution if your FFT's will always be along time.
-- Jon
Bob Yu wrote:
Jon,I am thinking to add more functions to analysis list for me LAS. It is nice to define a new variable with an operation on an existed variable, and then have the created one in the variable list. In my case, I want to add FFT function on the analysis list (rather than add the FFT to the operation list) for now. However, after looked code for a while I still couldn't find the way to add my function to the DefaultAnalysis. Could you show me how to do it?
Thanks?
Bob
Bob Yu wrote:
Jon,I found the way to use Analysis fuctions through LAS. Each time when I selected a region for a variable. I can define a new variable through the left side "Define Variable" option. In the option I can select the analysis options.
Thankls for your quick response.
Bob
Jonathan Callahan wrote:
Bob,Do you have a visible LAS where I can look at your current setup?
LAS v6.1 has some analysis capability built in and that's what you may be seeing.
If you copy las/etc/LASinfo.pl to las/server I'll be able to query it for your xml files and better help you debug.
LASinfo.pl is described very briefly here:
http://ferret.pmel.noaa.gov/Ferret/LAS/Documentation/manual/utilities.html
-- Jon
Bob Yu wrote:
Hi LASers,I am trying to add my operations (such as average, max, min) onto the LAS. I noticed that in ui.xml there is DefaultAnalysis menu map that defined such operations. Where and how those operations are applied? How can I use them ?
Bob
-- (Bob) Yunyue YU Code 971, Goddard Space Flight Center Greenbelt, MD 20771 (301)614-6850 yuy@nemo.gsfc.nasa.gov-- (Bob) Yunyue YU Code 971, Goddard Space Flight Center Greenbelt, MD 20771 (301)614-6850 yuy@nemo.gsfc.nasa.gov-- (Bob) Yunyue YU Code 971, Goddard Space Flight Center Greenbelt, MD 20771 (301)614-6850 yuy@nemo.gsfc.nasa.gov-- (Bob) Yunyue YU Code 971, Goddard Space Flight Center Greenbelt, MD 20771 (301)614-6850 yuy@nemo.gsfc.nasa.gov--- End Message ---