Skip to content

Commit

Permalink
docs: add info about EMODnetWCS (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
salvafern committed Apr 12, 2023
1 parent 2e32545 commit 8dc3969
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 25 deletions.
9 changes: 9 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ emodnet_get_layers(

## Other web services

### EMODnet ERDDAP server

The EMODnet data are also published in an [ERDDAP server](https://erddap.emodnet.eu). You can access these data in R using the [rerddap R package](https://docs.ropensci.org/rerddap/):


Expand Down Expand Up @@ -167,6 +169,13 @@ head(res$data)
```


### EMODnetWCS: Access EMODnet Web Coverage Service data

This package EMODnetWFS uses [Web Feature Services](https://www.ogc.org/standard/wfs/), hence it is limited to getting vector data. EMODnet also hosts raster data that can be accessed via [Web Coverage Services (WCS)](https://www.ogc.org/standard/wcs/). The R package [EMODnetWCS](https://github.com/EMODnet/EMODnetWCS) makes these data available in R.




## Citation

To cite EMODnetWFS, please use the output from `citation(package = "EMODnetWFS")`.
Expand Down
61 changes: 36 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,16 +144,16 @@ emodnet_get_wfs_info(service = "biology")
#> # Rowwise:
#> data_source service_name service_url layer_name title abstract class format
#> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
#> 1 emodnet_wfs biology https://geo.… mediseh_c… EMOD… "Coral … WFSF… data.…
#> 2 emodnet_wfs biology https://geo.… mediseh_c… EMOD… "Coral … WFSF… data.…
#> 3 emodnet_wfs biology https://geo.… mediseh_c… EMOD… "Cymodo… WFSF… data.…
#> 4 emodnet_wfs biology https://geo.… Species_g… EMOD… "This d… WFSF… data.…
#> 5 emodnet_wfs biology https://geo.… Species_g… EMOD… "This d… WFSF… data.…
#> 6 emodnet_wfs biology https://geo.… Species_g… EMOD… "This d… WFSF… data.…
#> 7 emodnet_wfs biology https://geo.… Species_g… EMOD… "This d… WFSF… data.…
#> 8 emodnet_wfs biology https://geo.… mediseh_h… EMOD… "Haloph… WFSF… data.…
#> 9 emodnet_wfs biology https://geo.… mediseh_m… EMOD… "Maërl … WFSF… data.…
#> 10 emodnet_wfs biology https://geo.… mediseh_m… EMOD… "Maërl … WFSF… data.…
#> 1 emodnet_wfs biology https://geo.… mediseh_c… EMOD… "Coral … WFSF… sf
#> 2 emodnet_wfs biology https://geo.… mediseh_c… EMOD… "Coral … WFSF… sf
#> 3 emodnet_wfs biology https://geo.… mediseh_c… EMOD… "Cymodo… WFSF… sf
#> 4 emodnet_wfs biology https://geo.… Species_g… EMOD… "This d… WFSF… sf
#> 5 emodnet_wfs biology https://geo.… Species_g… EMOD… "This d… WFSF… sf
#> 6 emodnet_wfs biology https://geo.… Species_g… EMOD… "This d… WFSF… sf
#> 7 emodnet_wfs biology https://geo.… Species_g… EMOD… "This d… WFSF… sf
#> 8 emodnet_wfs biology https://geo.… mediseh_h… EMOD… "Haloph… WFSF… sf
#> 9 emodnet_wfs biology https://geo.… mediseh_m… EMOD… "Maërl … WFSF… sf
#> 10 emodnet_wfs biology https://geo.… mediseh_m… EMOD… "Maërl … WFSF… sf
#> # … with 27 more rows, and 1 more variable: layer_namespace <chr>
```

Expand All @@ -165,16 +165,16 @@ emodnet_get_wfs_info(wfs_bio)
#> # Rowwise:
#> data_source service_name service_url layer_name title abstract class format
#> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
#> 1 emodnet_wfs biology https://geo.… mediseh_c… EMOD… "Coral … WFSF… data.…
#> 2 emodnet_wfs biology https://geo.… mediseh_c… EMOD… "Coral … WFSF… data.…
#> 3 emodnet_wfs biology https://geo.… mediseh_c… EMOD… "Cymodo… WFSF… data.…
#> 4 emodnet_wfs biology https://geo.… Species_g… EMOD… "This d… WFSF… data.…
#> 5 emodnet_wfs biology https://geo.… Species_g… EMOD… "This d… WFSF… data.…
#> 6 emodnet_wfs biology https://geo.… Species_g… EMOD… "This d… WFSF… data.…
#> 7 emodnet_wfs biology https://geo.… Species_g… EMOD… "This d… WFSF… data.…
#> 8 emodnet_wfs biology https://geo.… mediseh_h… EMOD… "Haloph… WFSF… data.…
#> 9 emodnet_wfs biology https://geo.… mediseh_m… EMOD… "Maërl … WFSF… data.…
#> 10 emodnet_wfs biology https://geo.… mediseh_m… EMOD… "Maërl … WFSF… data.…
#> 1 emodnet_wfs biology https://geo.… mediseh_c… EMOD… "Coral … WFSF… sf
#> 2 emodnet_wfs biology https://geo.… mediseh_c… EMOD… "Coral … WFSF… sf
#> 3 emodnet_wfs biology https://geo.… mediseh_c… EMOD… "Cymodo… WFSF… sf
#> 4 emodnet_wfs biology https://geo.… Species_g… EMOD… "This d… WFSF… sf
#> 5 emodnet_wfs biology https://geo.… Species_g… EMOD… "This d… WFSF… sf
#> 6 emodnet_wfs biology https://geo.… Species_g… EMOD… "This d… WFSF… sf
#> 7 emodnet_wfs biology https://geo.… Species_g… EMOD… "This d… WFSF… sf
#> 8 emodnet_wfs biology https://geo.… mediseh_h… EMOD… "Haloph… WFSF… sf
#> 9 emodnet_wfs biology https://geo.… mediseh_m… EMOD… "Maërl … WFSF… sf
#> 10 emodnet_wfs biology https://geo.… mediseh_m… EMOD… "Maërl … WFSF… sf
#> # … with 27 more rows, and 1 more variable: layer_namespace <chr>
```

Expand All @@ -188,8 +188,8 @@ emodnet_get_layer_info(wfs = wfs_bio, layers = layers)
#> # Rowwise:
#> data_source service_name service_url layer_name title abstract class format
#> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
#> 1 emodnet_wfs https://geo.vl… biology mediseh_p… EMOD… "Coastl… WFSF… data.…
#> 2 emodnet_wfs https://geo.vl… biology mediseh_z… EMOD… "Zoster… WFSF… data.…
#> 1 emodnet_wfs https://geo.vl… biology mediseh_p… EMOD… "Coastl… WFSF… sf
#> 2 emodnet_wfs https://geo.vl… biology mediseh_z… EMOD… "Zoster… WFSF… sf
#> # … with 1 more variable: layer_namespace <chr>
```

Expand Down Expand Up @@ -353,9 +353,9 @@ emodnet_get_layers(
layers = layers,
reduce_layers = TRUE
)
#> Error in `emodnet_get_layers()`:
#> ! Can't reduce layers when one is a data.frame
#> ℹ data.frame layer(s): "mediseh_zostera_m_pnt, mediseh_posidonia_nodata"
#> Error in `value[[3L]]()`:
#> ! Cannot reduce layers.
#> ℹ Try again with `reduce_layers = FALSE`
```

Using `reduce_layers = TRUE` is also useful for returning an `sf` object
Expand Down Expand Up @@ -391,6 +391,8 @@ emodnet_get_layers(

## Other web services

### EMODnet ERDDAP server

The EMODnet data are also published in an [ERDDAP
server](https://erddap.emodnet.eu). You can access these data in R using
the [rerddap R package](https://docs.ropensci.org/rerddap/):
Expand Down Expand Up @@ -476,6 +478,15 @@ head(res$data)
#> 6 -617500 7034500 2020-04-01T00:00:00Z NA
```

### EMODnetWCS: Access EMODnet Web Coverage Service data

This package EMODnetWFS uses [Web Feature
Services](https://www.ogc.org/standard/wfs/), hence it is limited to
getting vector data. EMODnet also hosts raster data that can be accessed
via [Web Coverage Services (WCS)](https://www.ogc.org/standard/wcs/).
The R package [EMODnetWCS](https://github.com/EMODnet/EMODnetWCS) makes
these data available in R.

## Citation

To cite EMODnetWFS, please use the output from
Expand Down

0 comments on commit 8dc3969

Please sign in to comment.