Great Thank you for the information.
I'll try that out let you know of my results.
All the best,
Rosanna.
From: Ansley Manke [ansley.b.manke@xxxxxxxx]
Sent: Thursday, October 25, 2012 5:13 PM To: Sumagaysay, Rosanna M (3880-Affiliate) Cc: las_users@xxxxxxxx Subject: Re: [las_users] How to create Virtual Variable in LAS Hi Rosanna,
Yes, you can do this in LAS. The documentation you want is here, http://ferret.pmel.noaa.gov/LAS/documentation/installer-documentation/advanced-dataset-configuration/ in the section about Using F-TDS to add virtual variables to datasets. It should work fine with data from two different datsets. The Ferret script you'll want is something like this: ! Open the datasets containing SST and the Quality flag use "http://opendap.jpl.nasa.gov:80/opendap/OceanTemperature/avhrr/L3/pathfinder_v5/monthly/day/04km/2000/07/200007.s04m3pfv50-sst-16b.hdf" use "http://opendap.jpl.nasa.gov:80/opendap/OceanTemperature/avhrr/L3/pathfinder_v5/monthly/day/04km/2000/07/200007.m04m3pfv50-qual.hdf" ! Define best_sst. Add a /TITLE qualifer too if you wish let/d=1/units="`sst[d=1],return=units`" best_sst = if qual[d=2] eq 7 then sst[d=1] ! Now dataset 1 has SST and the defined-variable best_sst set data 1 Try it from the Ferret command line and then work through the instructions for adding this virtual dataset to your LAS. Ansley On 10/25/2012 4:05 PM, Sumagaysay, Rosanna M (3880-Affiliate) wrote:
|