Functions are split into two groups:
#Example 1:
# Transform one rsf file (crop and reduce the number of sectors)
RSF_convert(rsf_file1 = "RSF-windresource-CFD_Hennoid [80m].rsf",
crop = TRUE,
layout_csv = "layout V2 Hennoid.csv",
twelve_S = TRUE,
output_name = "Hennoid")
#Example 2:
# Create a 3 dimensional rsf based on two rsf files.
RSF_convert(rsf_file1 = "RSF-windresource-CFD_Hennoid [80m].rsf",
rsf_file2 = "RSF-windresource-CFD_Hennoid_[117].rsf",
crop = TRUE,
layout_csv = "layout V2 Hennoid.csv",
shear_out = TRUE,
three_D = TRUE,
layer_H = c(94,105,112),
output_name = "Hennoid")
Example:
RSF_plot(rsf_file1 = "[3D][crop_700]Hennoid.rsf")
Example:
Shear_plot(rsf_file1 = "[shear_table][crop_700]Hennoid.csv", layout_csv = "layout_Hennoid.csv")
Example:
ShearExtract("sheartable.csv","layout_Saint_Martin.csv")
Example:
RSF_scale(rsf_file = "RSF-CFD_Douglas_West.rsf",scale_factor = 1.11)
"Root" functions work with object already loaded on the memory. They are core modules of this tool.
#Example:
rsf87 <- Read_RSF("RSF-windresource-CFD_Tonstaad [87m].rsf")
#Example:
layout_T <- read.csv("[V10A] Tonstaad layout.csv")
#Example:
Write_RSF(rsf87_12S,"[12S][87]Tonstaad.rsf")
#Example:
rsf87C2 <- Crop_RSF(rsf87,645000,635000,598800,597800)
#Example:
rsf87_12S <- S36_to_S12_RSF(rsf87)
#Example:
V117_PC <- Gen_power_curve(V117)
#Example:
rod_RSF(rsf87, 644354,544568, V117_PC)
#Example:
Bensh_table <- Bensh_RSF(rsf87, rsf87_12S, layout_T, V117_PC)
#Example:
rsf3D <- Interpol_RSF(rsf87_12S, rsf137_12S, c(91.5,94,117,125,147))
#Example:
shear_ <- Shear_RSF(rsf87_12S,rsf137_12S)
#Example:
Shear2png(shear_)
#Example:
ShearTable(shear_)
Note: the last 3 functions on the shear (Shear_RSF, Shear2png, ShearTable) would be merged in the future.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.