plotTrajbackground: Plot profiles and trajectories

View source: R/cqmaTools.R

plotTrajbackgroundR Documentation

Plot profiles and trajectories

Description

Plot the input data into map, section, and profile graphs. These plots are stored in disk

Usage

plotTrajbackground(file.in, path.out, traj.interpol, traj.intersections,
  traj.plot, device, map.xlim, map.ylim, map.height, map.width, sec.width,
  sec.height, prof.height, prof.width, nsd, maxfm.ppm, stations.df,
  plot2file, logger, trajCnames, obsCnames, profileCnames, trajFileMet)

Arguments

file.in

A character. The path to a filtered observations file or flag filtered raw data

path.out

A character. The path to a folder to store the results

traj.interpol

A list of numeric. The interpolated values of teh trajectories over the sea

traj.intersections

A list made of a character vector and a list. The character vector is the path to each trajectory file while the list contains the first row in the trajectory file which lies over the sea

traj.plot

A vector of character. The file path to trajectories to plot additional to those in traj.intersections[[1]]

device

A character. Image format, i.e. PNG

map.xlim

A numeric vector. Map's min & max longitude

map.ylim

A numeric vector. Map's min & max latitude

map.height

A numeirc. Map image size

map.width

A numeirc. Map image size

sec.width

A numeric. Crosssection map image size

sec.height

A numeric. Crosssection map image size

prof.height

A numeric. Profile image size

prof.width

A numeric. Profile image size

nsd

A numeric. Number of standard deviations to use to filter the interpolated data

maxfm.ppm

A numeric. Maximum number of units away from the central tendency

stations.df

A data.frame with metereological station data. It must contain at least the columns c("name", "lon", "lat")

plot2file

A logical or NA. Should plots be stored as files? Use NA to not plot anything

logger

A log4r object

trajCnames

A character. Column names of hysplit files

obsCnames

A character. Filtered observation column names

profileCnames

A character. Column names of the pofiles

trajFileMet

A character. Metadata included in the trajectory's file names

Value

A list of objects. A character vector with the paths to the plot files, and a data.frame with merged data

Author(s)

Alber Sanchez, alber.ipia@inpe.br


albhasan/cqmaTools documentation built on Dec. 12, 2023, 9:25 a.m.