Resources

Retrieve the Tornado Vortex Signature Data,

/*----------------------------------------------------------------

                   SAS SAMPLE LIBRARY

       Name: noaaex05.sas
Description: Example program from SAS/ETS User's Guide,
             The SASENOAA Interface Engine
      Title: Retrieve the Tornado Vortex Signature Data,
             NX3TVS, Using CENTER= and RADIUS= options.
    Product: SAS/ETS Software
       Keys: NOAA Severe Weather Data Inventory NX3TVS Data
      Procs: SASENOAA
      Notes: Read this before you run this sample.
             The sample data provided resides in the ets/sasmisc folder,
             and is only provided so that you can see how the data you
             download is supposed to look.
             The XML data that SASENOAA downloads
             should look the same as the sample data.

             You can define a system environment variable
             named NOAA_DATA that designates the path of your writeable
             folder where the maps and XML files from the NOAA SWDIWS
             are to be written.
             To assign a fileref to the external file to be processed,
             you could then use the NOAA_DATA environment variable in the
             following form of the libname statement:

           libname noaa sasenoaa "%sysget(NOAA_DATA)"
              NOAASET=nx3tvs
              RANGE='20060505:20060516'
              RADIUS='15.0'
              CENTER='-102.0,32.7'
              OUTXML=my2CR
              AUTOMAP=replace
              MAPREF=MyMap
              XMLMAP="%sysget(NOAA_DATA)\my2CR.map"
              FORMAT=xml
              ;

             Alternatively, you can specify a path to an already existing
             physical  folder such as "/sasusr/playpens/saskff/noaa/test/"
             as shown in the code that follows.
 ----------------------------------------------------------------*/


options validvarname=any
   sslcalistloc="/SASSecurityCertificateFramework/1.1/cacerts/trustedcerts.pem";

title 'Tornado Vortex Signatures with CENTER= and RADIUS= Options for a Date Range';
libname _all_ clear;
libname mylib "/sasusr/playpens/saskff/noaa/doc/";

libname noaa sasenoaa "/sasusr/playpens/saskff/noaa/test/"
   noaaset=nx3tvs
   range='20060505:20060516'
   radius='15.0'
   center='-102.0,32.7'
   outxml=my2CR
   automap=replace
   mapref=MyMap
   xmlmap="/sasusr/playpens/saskff/noaa/my2CR.map"
   format=xml
   ;

data mylib.TVS2CR;
   set noaa.my2CR;
run;

proc contents data=mylib.TVS2CR; run;
proc print data=mylib.TVS2CR(obs=10); run;