Skip to content

Instantly share code, notes, and snippets.

View ibarraespinosa's full-sized avatar
🇨🇱
https://ibarraespinosa.github.io/

Sergio Ibarra Espinosa ibarraespinosa

🇨🇱
https://ibarraespinosa.github.io/
View GitHub Profile
&share
wrf_core = 'ARW',
max_dom = 3,
start_date = '2014-10-06_00:00:00','2014-10-06_00:00:00','2014-10-06_00:00:00',
end_date = '2014-10-13_00:00:00','2014-10-13_00:00:00','2014-10-13_00:00:00',
interval_seconds = 21600
io_form_geogrid = 2,
/
&geogrid
&time_control
run_days = 0,
run_hours = 168,
run_minutes = 0,
run_seconds = 0,
start_year = 2014, 2014, 2014,
start_month = 10, 10, 10,
start_day = 06, 06, 06,
start_hour = 00, 00, 00,
start_minute = 00, 00, 00,
&time_control
run_days = 0,
run_hours = 168,
run_minutes = 0,
run_seconds = 0,
start_year = 2014, 2014, 2014,
start_month = 10, 10, 10,
start_day = 06, 06, 06,
start_hour = 00, 00, 00,
start_minute = 00, 00, 00,
&time_control
run_days = 0,
run_hours = 0,
run_minutes = 0,
run_seconds = 0,
start_year = 2014, 2014, 2014,
start_month = 08, 08, 08,
start_day = 04, 04, 04,
start_hour = 00, 00, 00,
start_minute = 00, 00, 00,
&time_control
run_days = 0,
run_hours = 0,
run_minutes = 0,
run_seconds = 0,
start_year = 2014, 2014, 2014,
start_month = 08, 08, 08,
start_day = 04, 04, 04,
start_hour = 00, 00, 00,
start_minute = 00, 00, 00,
$cat test_nc.f
PROGRAM TEST_NC
IMPLICIT NONE
include 'netcdf.inc'
INTEGER ncid, nc_err
nc_err = nf_open('test.nc', nf_nowrite, ncid)
nc_err = nf_close(ncid)
END PROGRAM TEST_NC
$ cat test_nc.f90
program test_nc
use netcdf
implicit none
integer :: ncid, nc_err
nc_err = nf90_open('test.nc', nf90_nowrite, ncid)
nc_err = nf90_close(ncid)
end program test_nc
# The 'keyed' data.table DT
DT <- data.table(A = letters[c(2, 1, 2, 3, 1, 2, 3)],
B = c(5, 4, 1, 9, 8, 8, 6),
C = 6:12)
setkey(DT, A, B)
# Select the "b" group
DT["b"]
# "b" and "c" groups
DT <- data.table(A = letters[c(2, 1, 2, 3, 1, 2, 3)],
B = c(5, 4, 1, 9, 8, 8, 6),
C = 6:12,
key = "A,B")
# Se puede etear los KEYS en la definicion de DT
sudo apt-get install libudunits2-dev libgdal-dev libgeos-dev libproj-dev libnetcdf* openssl ssh qgis qgis-plugin-grass r-base r-base-dev texlive-full pandoc