Skip to content

stenzelf/clewsbiosphere

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

First install the devtools package and load it:

install.packages("devtools")
library(devtools)

Then, you can install clewsbiosphere by directly loading it from github:

devtools::install_github(repo = "https://github.com/stenzelf/clewsbiosphere")
library(clewsbiosphere)

or download from github and install from that folder

git clone git@github.com:stenzelf/clewsbiosphere.git /home/stenzel/clewsbiosphere
devtools::load_all("/home/stenzel/clewsbiosphere/")

Examples

The clews package provides functions:

read_netcdf() plot_lon_lat_array() climate_plot() read_in_zhang_file() add_modelled_npp_to_zhang_npp_measurements() scatter_plot()

Base R functions you might need are:

apply(array, keepTheseDimensions, functionToApply)

e.g. with apply(pre,c(1,2,4),sum) or apply(tmp,c(1,2,4),mean)

pmin(vector1, vector2)
exp(x)

If you have limited RAM, you can remove variables that are not required anymore and clean the workspace by these commands:

rm(variable)
gc()

Help for functions can be obtained by typing: ?functionName

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages