Skip to content

MathewBiddle/globe

 
 

Repository files navigation

Projecting images on a 3 dimensional globe using react-globe.

Requirements

Install nodejs using conda

Build the environment using conda and the environment.yml file:

conda env create -f environment.yml
conda activate globe
npm install react-scripts --save

Developing globe webpage

Test locally:

npm run start

Check that PUBLIC_URL is correct in .env and pointing to the appropriate GH-Pages website.

To update web version:

  • Commit changes to repo
  • Deploy page by running this locally:
    npm run deploy
  • That will kick off the GH-Action to rebuild the webpage.

To create the jpg images for the globe

Some things to note about creating the jpg images for the globe:

  • projection is Plate Carree with a central longitude at 0.0.
  • figure size is width=160, height=80 in inches.

To edit globe settings

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 100.0%