Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
reservebenefit
environmental_assign_data
Commits
ee92a8d5
Commit
ee92a8d5
authored
Feb 01, 2019
by
peguerin
Browse files
habitat
parent
c13e5567
Changes
2
Hide whitespace changes
Inline
Side-by-side
00-scripts/habitat.R
View file @
ee92a8d5
...
...
@@ -32,9 +32,9 @@ coordinates(latlon) = c("lon", "lat")
proj4string
(
latlon
)
=
CRS
(
"+init=epsg:4326"
)
## load raster of "substrate"
rp
=
raster
(
"01-infos/EUSeaMap2016_substrate_raster_med_res200m.tif"
)
rp
=
raster
(
"01-infos/
habitat/
EUSeaMap2016_substrate_raster_med_res200m.tif"
)
#correspondance ID/levels(Substrate)
levels.substrate
=
as.character
(
read.table
(
"01-infos/EUSeaMap2016_substrate_levels_med_res200m.tsv"
,
sep
=
"\t"
)
$
V1
)
levels.substrate
=
as.character
(
read.table
(
"01-infos/
habitat/
EUSeaMap2016_substrate_levels_med_res200m.tsv"
,
sep
=
"\t"
)
$
V1
)
##convertir les lat/lon dans la projection du raster "rp"
latlon
=
spTransform
(
latlon
,
proj4string
(
rp
))
...
...
README.md
View file @
ee92a8d5
...
...
@@ -63,8 +63,8 @@ To access to our private server, please follow these instructions
Now you are connected to our server and you can download the required files. They are stored into : /DataEnvironment/resources
Download the content of /DataEnvironment/resources and copy it into the folder
[
01-infos
](
01-infos
)
. Your data should be stored this way :
*
01-infos/EUSeaMap2016_substrate_levels_med_res200m.tsv
*
01-infos/EUSeaMap2016_substrate_levels_med_res200m.tif
*
01-infos/
habitat/
EUSeaMap2016_substrate_levels_med_res200m.tsv
*
01-infos/
habitat/
EUSeaMap2016_substrate_levels_med_res200m.tif
*
01-infos/chlorophyll/benthic/Present.Benthic.Mean.Depth.Chlorophyll.Max.tif.zip
*
01-infos/chlorophyll/benthic/Present.Benthic.Mean.Depth.Chlorophyll.Mean.tif.zip
*
01-infos/chlorophyll/benthic/Present.Benthic.Mean.Depth.Chlorophyll.Min.tif.zip
...
...
Write
Preview
Markdown
is supported
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