DESCRIPTION
Passing the --ftp, --http, and/or --nfs flags will cause get_bufr.pl to search for BUFR files on a server using ftp, http, or nfs commands respectively. Not passing any arguments, E.g, just "--http|ftp|nfs", will instruct the script to use each server specified in the <dataset>_bufrinfo.conf file by SERVER-[FTP|HTTP|NFS]. If no servers for a method are defined in the _bufrinfo.conf file, then the next method in the command line list, if any, will be used. E.g.:
% get_bufr.pl --dset nam --nfs --http --ftp
i. FTP and HTTP (--ftp and --http)
An argument to --ftp|http may either be a SERVER ID that is used to identify a remote system or
string that specifies the IP/hostname of a server followed by the path to the file and naming convention.
If a SERVER ID is passed then it must have a corresponding entry in the <dataset>_bufrinfo.conf and also be
defined in the modsnd.conf file. E.g.:
% get_bufr.pl --dset nam --http STRC
Where STRC has an entry in the nam_bufrinfo.conf file as:
SERVER-HTTP = STRC:/data/bufr/YYYYMMDD/nam/bufr.tCCz/bufr.STNM.YYYYMMDDCC
And is also defined in the conf/modsnd.conf file as:
STRC = soostrc.comet.ucar.edu
It is also possible to specify a hostname and directory/filename string separated by a
colon(:) as an argument to --ftp|http|nfs. E.g.:
% get_bufr.pl --dset nam --ftp soostrc.comet.ucar.edu:/data/bufr/YYYYMMDD/nam/bufr.tCCz/bufr.STNM.YYYYMMDDCC
or
% get_bufr.pl --dset nam --ftp 128.117.110.214:/data/bufr/YYYYMMDD/nam/bufr.tCCz/bufr.STNM.YYYYMMDDCC
Note that in each of the above examples, the YYYY, MM, DD, FF, and CC will be replaced with the
appropriate values.
ii. NFS
Passing --nfs will cause get_bufr.pl to search for BUFR files on a locally-accessible system using either
secure copy (scp) or copy (cp) commands. Not passing any arguments, i.e, just "--nfs", will instruct the
to use each machine listed in the appropriate <dataset>_bufrinfo.conf file by a SERVER-NFS identifier.
An argument to --nfs may either be a SERVER ID that is used to identify a system. The SERVER ID must
have a corresponding entry in the _bufrinfo.conf and be defined in the wrf_prep.conf file. E.g.:
% get_bufr.pl --dset nam --nfs system_a
Where SYSTEM_A has an entry in the nam_bufrinfo.conf file as:
SERVER-NFS = SYSTEM_A:/data/bufr/YYYYMMDD/nam/bufr.STNM.YYYYMMDDCC
And is also defined in the conf/modsnd.conf file as:
SYSTEM_A = systema.comet.ucar.edu
or
SYSTEM_A = user@systema.comet.ucar.edu
The SERVER-NFS entry does not have to include a server ID. You may include the hostname information
directly on the SERVER-NFS line. E.g.:
SERVER-NFS = systema.comet.ucar.edu:/data/bufr/YYYYMMDD/nam/bufr.STNM.YYYYMMDDCC
or
SERVER-NFS = user@systema.comet.ucar.edu:/data/bufr/YYYYMMDD/nam/bufr.STNM.YYYYMMDDCC
In each of the examples above secure copy (scp) is used to access the requested files
on another system; however, if your files are locally available in a directory you don't
need to include the [user@]hostname information. E.g.:
SERVER-NFS = /data/bufr/YYYYMMDD/nam/bufr.STNM.YYYYMMDDCC
or
SERVER-NFS = LOCAL:/data/bufr/YYYYMMDD/nam/bufr.STNM.YYYYMMDDCC
In which case the copy (cp) command will be used to access the files.
It is also possible to specify a hostname and directory/filename string separated by a
colon(:) as an argument to --nfs. E.g.:
% get_bufr.pl --dset nam --nfs servera.comet.ucar.edu:/data/bufr/YYYYMMDD/nam/bufr.STNM.YYYYMMDDCC
or
% get_bufr.pl --dset nam --nfs user@servera.comet.ucar.edu:/data/bufr/YYYYMMDD/nam/bufr.STNM.YYYYMMDDCC
or
% get_bufr.pl --dset nam --nfs /data/bufr/YYYYMMDD/nam/bufr.STNM.YYYYMMDDCC