[Reddyproc-users] Getting ReddyProc running with my own dataset

Kerstin Sickel ksickel at bgc-jena.mpg.de
Mon Mar 30 09:57:17 CEST 2015


Hi Efren,

here are some examples for directories:


Dir_PV_inp.s <- paste('L:/scratch/ksickel/FLUX/PV-input_files/')
Dir_PV_out.s <- paste('L:/scratch/ksickel/FLUX/fluxpart_new/')
Dir_R_inp.s  <- paste('L:/scratch/ksickel/FLUX/R_input_files/test/')
Dir_R_out.s  <- paste('L:/scratch/ksickel/FLUX/R_output/REddyResults_AT-Neu_2004/')

Dir_PV_out.s <- paste('D:/my_R/REddyProc/out')
Dir_R_out.s  <- paste('D:/my_R/REddyProc/out4')

PVinp.F <- fLoadTXTIntoDataframe(FPV_inp , Dir_PV_inp.s)
PVout.F <- fLoadTXTIntoDataframe(FPV_out, Dir_PV_out.s)
Rint.F  <- fLoadTXTIntoDataframe(FR_inp, Dir_R_inp.s)
Rout.F  <- fLoadTXTIntoDataframe(FR_out, Dir_R_out.s)

Cheers Kerstin


On Mar 26, 2015, at 6:23 PM, Efren Lopez Blanco wrote:

> Hello,
> 
> I’ve successfully installed ReddyProc package in R. The script run fluently the dummy dataset provided (“Example_DETha98.txt"). However, I am on trouble when I try to run my own dataset (please find it attached). If I run the code in such a way that….
> 
> 
> #+++ Simple example code for using the sEddyProc reference class +++
>   
>   if( TRUE ) { #Do not always execute example code (e.g. on package installation)
>     
>     #+++ Load data with one header and one unit row from (tab-delimited) text file
>     Dir.s <- paste(system.file(package='REddyProc'), 'examples', sep='/')
>     #Dir.s <- setwd("/Users/elb/Downloads/REddyProc/inst/examples")
>     EddyData.F <- fLoadTXTIntoDataframe(‘EC_2010.txt', Dir.s)
>     #+++ If not provided, calculate VPD from Tair and rH
>     EddyData.F <- cbind(EddyData.F,VPD=fCalcVPDfromRHandTair(EddyData.F$rH, EddyData.F$Tair)) ….
>     
> 
> I got an error message:
> 
> Error in fSetFile(FileName.s, Dir.s, T, "fLoadTXTIntoDataframe") : 
>   fLoadTXTIntoDataframe:::fSetFile::: File does not exist or has no read permission: /Users/elb/Library/R/3.1/library/REddyProc/examples/EC_2010.txt
> 
> Where shall I allocate my EC_2010.txt file? .../REddyProc/inst/examples?
> 
> Shall I set up anything else?
> 
> Best,
> Efren
> 
> 
> <EC_2010.txt>_______________________________________________
> Reddyproc-users mailing list
> Reddyproc-users at lists.r-forge.r-project.org
> http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/reddyproc-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/reddyproc-users/attachments/20150330/53468272/attachment.html>


More information about the Reddyproc-users mailing list