pr_conversion: Convert monthly downscaled preciptation from kg/m2/s to...

Description Usage Arguments Details Value Functions

View source: R/conversion.R

Description

A kg/m2 of water is approximately one millimeter of depth (because at standard temperature 1 cc of water masses 1 gram). So, to convert to depth per unit time, you just multiply by the number of seconds in the time unit you want.

Usage

1
2
3

Arguments

input

a 2d array of monhtly downscaled preciptation data in kg/m2/s to convert to mm/month, row.names of input must correspond to a time formatted as YYYYMM

Details

The difference between the regular and simplified version is that the simplified version doesn't attempt to correct for the fact that months are not all the same length; it just treats every month as 1/12 of a tropical year.

Value

a matrix of monthly precipitation data in mm/month

Functions


JGCRI/an2month documentation built on July 31, 2020, 2:53 p.m.