Skip to content
rtlemosPublic

About

Project your maritime dataset onto the World Ocean.

Resources

Stars

44 stars

Watchers

2 watching

Forks

Latest commit

 

History

20 Commits

Folders and files

Repository files navigation

spilhaus

Project your maritime data onto the World Ocean.

SST on Sep 16, 2019

To know more about the Spilhaus projection, see:

Currently, the Spilhaus projection is missing in PROJ, making it unavailable for R and Python enthusiasts, among others: OSGeo/PROJ#1851. This repo contains four scripts:

  • spilhaus.R and spilhaus.py, which contain the main functions that you may want to use, and
  • example.R and example.py, which demonstrate how to use the functions to create and plot a dataset using the Spilhaus projection.

In spilhaus.*, the functions

  • from_lonlat_to_spilhaus_xy and
  • from_spilhaus_xy_to_lonlat

let you move between Mercator and Spilhaus projections; the function

  • make_spilhaus_xy_gridpoints

lets you create a square grid of Spilhaus coordinates; and the function

  • prettify_spilhaus_df

cleans the Spilhaus dataframe and moves a few pixels around (bottom/top and left/right) to make a contiguous ocean.

About

Project your maritime dataset onto the World Ocean.

Resources

Stars

44 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages