-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.Rhistory
95 lines (95 loc) · 2.97 KB
/
.Rhistory
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
library(reticulate)
import(os)
import("os")
use_condaenv("metocean_data_py3")
import("os")
import("../../global_metocean_data/ww3")
source_python("../../global_metocean_data/ww3.py")
setwd("../../global_metocean_data/")
source_python("../../global_metocean_data/ww3.py")
source_python("ww3.py")
ls
ls()
import("processing")
import("pygrib")
?import
import("pygrib", convert = FALSE)
import_from_path("processing.py")
import_from_path("ww3.py")
py_run_file("ww3.py")
py_run_file("ww3.py")
library(reticulate)
Sys.which("python")
use_python("/home/robwall/anaconda2/envs/metocean_data_py3/bin/python")
py_run_file("ww3.py")
import_from_path("ww3.py")
conda_list()
use_condaenv("metocean_data_py3")
repl_python()
py_config()
py_module_available("magic")
py_module_available("numpy")
py_module_available("pygrib")
library(reticulate)
use_condaenv("metocean_data_py3")
import_from_path("ww3.py")
import("pygrib")
import("utils")
py_module_available("pygrib")
py_config()
repl_python()
use_python("/home/robwall/anaconda2/envs/metocean_data_py3/bin/python")
repl_python()
py_config()
repl_python()
use_python("/home/robwall/anaconda2/envs/python3/bin/python")
repl_python()
?repl_python
use_virtualenv("/home/robwall/anaconda2/envs/metocean_data_py3/bin/python")
py_config()
use_python("/home/robwall/anaconda2/envs/python3/bin/python", required = TRUE)
py_config()
library(reticulate)
py_config()
py_config_error_message()
repl_python()
use_python("/home/robwall/anaconda2/envs/metocean_data_py3/bin/python")
py_config()
repl_python()
ww3 <- import_from_path("../../global_metocean_data/ww3.py")
source_python(("../../global_metocean_data/ww3.py")
df
source_python("../../global_metocean_data/ww3.py")
py_config()
setwd("../../global_metocean_data/")
ww3 <- import_from_path("ww3.py")
source_python("ww3.py")
process_ww3("gold_coast", "data/nww3.t00z.grib.grib2.grb", TRUE, "out/ww3/")
library(reticulate)
py_config()
use_python("/home/robwall/anaconda2/envs/metocean_data_py3/bin/python")
py_config()
ww3 <- import_from_path("ww3.py")
setwd("../SLOGGER/slogger_forecasting/")
ls
slogger.dir <- getwd()
slogger.dir
gm.dir <- "/home/robwall/projects/global_metocean_data/"
setwd(gm.dir)
source_python("ww3.py")
setwd(slogger.dir)
getwd()
process_ww3("gold_coast", input/ww3/nww3.t12z.grib.grib2.grb", TRUE, "input/gold_coast")
process_ww3("gold_coast", "input/ww3/nww3.t12z.grib.grib2.grb", TRUE, "input/gold_coast")
process_ww3("gold_coast", "input/ww3/nww3.t00z.grib.grib2.grb", TRUE, "input/gold_coast/")
setwd(gm.dir)
process_ww3("gold_coast", "../SLOGGER/slogger_forecasting/input/ww3/nww3.t00z.grib.grib2.grb", TRUE. "../SLOGGER/slogger_forecasting/input/gold_coast/")
process_ww3("gold_coast", "../SLOGGER/slogger_forecasting/input/ww3/nww3.t00z.grib.grib2.grb", TRUE, "../SLOGGER/slogger_forecasting/input/gold_coast/")
library(reticulate)
use_python("/home/robwall/anaconda2/envs/metocean_data_py3/bin/python")
py_config()
source_python("ww3.py")
repl_python()
library(rNOMADS)
model.list <- NOMADSRealTimeList("grib")
model.list$name