NWS - Perl extension for using NWS
use NWS;
Contains subroutine for running NWS commands. NWS user guide located here: http://www.nsf-middleware.org/documentation/NMI-R1/1/NWS/users_guide.htm#nws_extract
Maytal Dahan, maytal@tacc.utexas.edu
Cog::lib::Cog::Globus::Job, Cog::lib::Cog::Globus::RSL, Cog::lib::Cog::Globus::Run, Cog::lib::Cog::Globus::URLCopy, Cog::lib::Cog::MDS::Search, Cog::lib::Cog::Security::Cacl, Cog::lib::Cog::Security::Myproxy, Cog::lib::Cog::Security::Proxy, Cog::src::Config, CogUtil::lib::CogUtil::Log, CogUtil::lib::CogUtil::UnixRun, Gridport::lib::Gridport::Authentication, Gridport::lib::Gridport::FileTransfer, Gridport::lib::Gridport::Job, Gridport::lib::Gridport::ProxyForward, Gridport::lib::Gridport::SRB, NWS::lib::NWS, SRB::lib::SRB
Description: Extracts NWS information
Parameters: | |
fieldList = This is a comma deliminated string. Specifies which information you would like displayed. i | |
fieldList is a comma-delimited list of forecast field names that you would like to see. | |
-h = this string is the number, Include a column header in the display after every n measurements. | |
A value of 0 suppresses the column header. The default value is 20. | |
num_forcasts = This is the number of measurements to display, default is 20. | |
nameserver = NWS name server that contains directory information for the NWS hosts of interest. | |
This overrides any default value from the environment or ~/.nwsrc. | |
ldap = Specifies that communication with the name server should be done using the LDAP | |
protocol instead of the NWS wire protocol | |
time = Specifies how far in the past to display measurements. By default, the program | |
displays an hour's worth of information | |
resource = the resource of interest | |
filter = It can be used to differentiate between multiple measurement series being | |
collected for the same resource. If you do not specify a filter it displays | |
all measurement series being collected for the resources you list. | |
hosts = space delimited list of hosts |
Usage: | |
NWS->extract(field_list=>``mae_error, mse_forcast'', | |
-h=>5, | |
num_forcasts=>15, | |
nameserver=>bubba.tacc.utexas.edu, | |
filter=>'band', | |
hosts=>``longhorn archive''); |
Returns: | |
Results from the extract command |