title: "ratmos model" author: "Sergio Ibarra-Espinosa" date: "7 de Septiembre de 2018" output: html_document
Package to process meteorological data. I included converting your data from NetCDF atmospheric models to raster with special functions to WRF and RegCM. Now included some meteorological function such as wind_shear and lcl
ratmos can be installed via github
devtools::install_github("ibarraespinosa/ratmos")
library(ratmos)
library(ratmos)
r <- raster_nc("file.nc")
r <- raster_wrf("file.nc")
r <- raster_regcm("file.nc") #experimental
library(ratmos)
data(cetesb) #SpatialPointsDataFrame
df <- xtractor(x = r, # raster
points = cetesb, # SpatialPointsDataFrame
station = cetesb$Station, # Name of each point
start = "2016-04-15 00:00") # First hour
library(ratmos)
b <- get_all_index(olr = FALSE)
library(ggplot2)
library(cptcity)
ggplot(b, aes(x = Date, y = index, colour = index)) + geom_line()+
facet_wrap(~name, ncol = 2, scales = "free") + theme_bw() +
scale_colour_gradientn(colours = rev(cpt(find_cpt("cb_div_RdB")[2])), limit = c(-4.6, 4.6))
Please, READ THE DOCUMENTATION: https://ibarraespinosa.github.io/ratmos/
Thanks and enjoy ratmos!
If you encounter any issues while using ratmos, please submit your issues to: https://github.com/ibarraespinosa/ratmos/issues/ If you have any suggestions just let me know to sergio.ibarra@usp.br.
Contributions of all sorts are welcome, issues and pull requests are the preferred ways of sharing them. When contributing pull requests, please follow the Google's R Style Guide. This project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.