AddMetFiles: Add meteorological file path

Description Usage Arguments Details Author(s) See Also

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

1
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<Year><Month>.gbl". For example, for Year = 2007 and Month = 06, the meteorological file name would be: "RP200706.gbl"

Author(s)

Thalles Santos Silva

See Also

ProcTraj


opentraj documentation built on May 1, 2019, 8:47 p.m.