[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-sig-geo
Subject:    [R-sig-Geo] Converting a variable's units from gigatons to teratons
From:       rain1290--- via R-sig-Geo <r-sig-geo () r-project ! org>
Date:       2019-03-28 15:55:29
Message-ID: 257060013.11500405.1553788529279 () mail ! yahoo ! com
[Download RAW message or body]

Hi there,
I am currently working with a variable whose units are expressed in gigatons. \
However, I would like to convert all of these values in this variable to teratons. \
Effectively, I would have to somehow have R divide all values (90 values) within the \
variable by 1000. So far, I have read in the variable (called CanESM2) as follows:
ncfname1 <- "cumulative_emissions_RCP45.nc"
Model3 <- nc_open(ncfname1)
get2 <- ncvar_get(Model3, "CanESM2")
Is there a way to accomplish this conversion?
Thanks, and any assistance would be greatly appreciated!

	[[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic