Re: [idvusers] ISL to save satellite data in McIDAS format

Robert -- I'm including my earlier note at the end of this, since I
neglected to forward it to the list.

To expand up that -- you can certainly use the AreaFile class to
download from an ADDE server and it's save() method to put the AREA
file on disk.  This could be run outside of the IDV.  In fact, if you
need a GUI, there is the GetAreaGUI class which can be used to help
create the URL you need to get the data...

While this would be easiest to work with in Jython, you could also
make a small Java program.  In Jython, it would be something like
this:

from edu.wisc.ssec.mcidas import AreaFile as af

a = af("adde://yourserver.ucar.edu/image?")
a.save("output.file",0)

a. the "image?", instead of a fully explicit URL will pop up a GUI to
help you select the data
b. the 2nd parameter in the save() call is "verbose" -- 0 (zero) is false/off

tom

On Tue, Apr 23, 2013 at 1:30 PM, Tom Whittaker <whittaker@xxxxxxxx> wrote:
> I do not know of any ISL that will do this.  From Jython, however, you can
> use the AreaFile class
> (see:
> <http://www.ssec.wisc.edu/visad-docs/javadoc/edu/wisc/ssec/mcidas/AreaFile.html>
> )
> to fetch your image via ADDE and then use the "save(filename)" method in
> AreaFile to write an AREA file to disk.  I hope this helps.
>
> tom
>
>
>
> On Sun, Apr 21, 2013 at 3:09 PM, Robert Dewey <robert.d.dewey@xxxxxxxxx>
> wrote:
>>
>> I'm wondering if anyone has an ISL script to download the most recent
>> satellite files (GOES-E 1km visible and 4km 10.7 micron IR) from an
>> ADDE server and save them locally in McIDAS AREA format. I looked
>> through the ISL tutorials and docs, and I don't see anything that
>> stands out when it comes to doing this.
>>
>>
>> Best Regards,
>>
>> Robert Dewey
>>
>> _______________________________________________
>> idvusers mailing list
>> idvusers@xxxxxxxxxxxxxxxx
>> For list information, to unsubscribe, visit:
>> http://www.unidata.ucar.edu/mailing_lists/
>>
>> --
>> Tom Whittaker
>> University of Wisconsin-Madison
>> Space Science & Engineering Center (SSEC)
>> Cooperative Institute for Meteorological Satellite Studies (CIMSS)
>> 1225 W. Dayton Street
>> Madison, WI  53706  USA
>> ph: +1 608 262 2759
>>
>>
>



--
Tom Whittaker
University of Wisconsin-Madison
Space Science & Engineering Center (SSEC)
Cooperative Institute for Meteorological Satellite Studies (CIMSS)
1225 W. Dayton Street
Madison, WI  53706  USA
ph: +1 608 262 2759