Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
reservebenefit
environmental_assign_data
Commits
837ac791
Commit
837ac791
authored
Aug 29, 2019
by
peguerin
Browse files
check script R
parent
b024805d
Changes
2
Show whitespace changes
Inline
Side-by-side
00-scripts/chlorophyll.R
View file @
837ac791
...
@@ -61,7 +61,7 @@ latlon = spTransform(latlon,proj4string(chloBenthicMeanRa))
...
@@ -61,7 +61,7 @@ latlon = spTransform(latlon,proj4string(chloBenthicMeanRa))
###############################################################################
###############################################################################
## extract
habitat
information from coordinates
## extract
Chlorophyll A abundance
information from coordinates
#radius(rayon) du cercle du buffer ayant pour centre le point d'echantillonnage
#radius(rayon) du cercle du buffer ayant pour centre le point d'echantillonnage
#cercle de 2 km de diametre
#cercle de 2 km de diametre
...
...
00-scripts/salt_temp.R
View file @
837ac791
...
@@ -20,7 +20,7 @@ extract_variable <- function(ma_variable, repro_period, depth_range ){
...
@@ -20,7 +20,7 @@ extract_variable <- function(ma_variable, repro_period, depth_range ){
###############################################################################
###############################################################################
## Load data
## Load data
fichier
=
"01-infos/CMEMS-MedSea_Reanalysis_Phys_006_004_0to210m_1987-2015_1m_votemper_vosaline_SampleLoc.nc"
fichier
=
"01-infos/
salinity_et_temperature/
CMEMS-MedSea_Reanalysis_Phys_006_004_0to210m_1987-2015_1m_votemper_vosaline_SampleLoc.nc"
samplecsv
=
read.csv
(
"01-sample_coords/samples_labels.csv"
,
sep
=
"\t"
,
header
=
F
)
samplecsv
=
read.csv
(
"01-sample_coords/samples_labels.csv"
,
sep
=
"\t"
,
header
=
F
)
labels
=
as.character
(
samplecsv
[,
1
])
labels
=
as.character
(
samplecsv
[,
1
])
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment