Learn R Programming

opentraj (version 1.0)

AddMetFiles:

Add meteorological file path

Description

This Utility function is called bt ProcTraj and should not be used independetly. AddMetFiles helps in the process of creating the CONTROL files for HYSPLIT.

Usage

AddMetFiles(month, Year, met, script.file, control.file)

Arguments

month
Integer; month of the meteorological file to be added.
Year
Integer; Year of the meteorological file to be added.
met
String; Path to the meteorological files.
script.file
String; name of the script that is being created by ProcTraj.
control.file
String; Control file name.

Details

AddMetFiles is called by ProcTraj is a loop which ensures that always three meteorological data files will be added for each CONTROL file, one for the current month, one for the previous month and another one for the following month. This function assumes that the meteorological files were downloaded from HYSPLIT, so that, they have the following name structure: "RP.gbl". For example, for Year = 2007 and Month = 06, the meteorological file name would be: "RP200706.gbl"

See Also

ProcTraj