depstat {climatol}R Documentation

Compute averages for a specified period

Description

Listing of monthly and annual average values for a specified period, from data generated by depudm.

Usage

  depstat(varcli, anyi, anyf, anyip = anyi, anyfp = anyf, nm = 12,
    ndec = 1, vala = 2)

Arguments

varcli Acronym of the name of the studied climatic variable, as in the data file name.
anyi Initial year of the data present in the file (four digits)
anyf Final year of the data present in the file (four digits)
anyip First year of the desired period (>=anyi, with 4 digits)
anyfp Last year of the desired period (<=anyf, with 4 digits)
nm Number of series in each station. (Default=12, for monthly data).
ndec Number of decimal places to be saved in file ‘VAR_AI-AF.med
vala Kind of annual value:
1:
Sum of monthly values,
2:
Average of monthly values,
3:
Maximum monthly value,
4:
Minimum monthly value.

Details

Purged data are read from file ‘VAR_AI-AF.dep’, generated by depudm, while the average data for the specified period (ai-af) are saved in ‘VAR_ai-af.med

Value

This function does not return any value.

See Also

depudm

Examples

  #Function depudm must be run first (see the example), to create
  #  the file 'PTOT_51-00.dep'. Then you can run:
  ## Not run: depstat("PTOT",1951,2000,1971,2000,vala=1)
  #See the results in the file 'PTOT_71-00.med' created by depstat.

[Package climatol version 1.0.3.1 Index]