Other

项目介绍

scitools-classroom/scipy-2018-cartopy-tutorial 是一个托管在 GitHub 上的开源项目,主要使用 Jupyter Notebook 编写,采用 Other 许可证,目前获得 112 个 Star、37 次 Fork。

仓库全名
scitools-classroom/scipy-2018-cartopy-tutorial
开源许可证
Other
Star 数
112
Fork 数
37

README 摘要

Around the world in 80 ways: An introduction to working with geodata and cartopy SciPy 2018 Installation / set-up SciPy 2018 Date: 8am on Monday 9th July, 2018 Download: scipy-2018 git tag (available from around 6th July), see also releases Abstract On the 1st of October 1872, Jules Verne’s character Phileas Fogg embarks on an adventure to circumnavigate the world in just 80 days. Travelling exclusively by sea and…

完整内容见 GitHub 原始 README 或本页 。

常见问题

scipy-2018-cartopy-tutorial 用什么语言开发?

主要使用 Jupyter Notebook 编写,采用 Other 许可证,目前有 112 个 Star。

scipy-2018-cartopy-tutorial 可以免费商用吗?

仓库标注的许可证为 Other,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 scipy-2018-cartopy-tutorial 的源码?

可以直接克隆仓库:git clone https://github.com/scitools-classroom/scipy-2018-cartopy-tutorial.git,默认分支为 master;安装与运行步骤见仓库 README。

scipy-2018-cartopy-tutorial 最近还在维护吗?

仓库最近一次更新为 2023年12月21日,当前没有未关闭的 Issue;Star 数为 112,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Cartopy tutorial: Around the world in 80 ways

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
195
价值分
79
活跃状态
活跃

语言占比

CSS
HTML
JavaScript
Jupyter Notebook
Python
Roff

Release

README


Around the world in 80 ways: An introduction to working with geodata and cartopy

Binder

SciPy 2018

Date: 8am on Monday 9th July, 2018

Download: scipy-2018 git tag (available from around 6th July), see also releases

Abstract

On the 1st of October 1872, Jules Verne’s character Phileas Fogg embarks on an adventure to circumnavigate the world in just 80 days. Travelling exclusively by sea and rail, Fogg voyages from the misty alleys of Victorian London to the exotic subcontinent and the Wild West in a race against the clock. Despite fastidiously counting each sunrise, he famously neglects the effect of crossing the dateline and thus arrives on a different day to the one he calculated.

The mistreatment of the dateline is far from unique to Phileas Fogg; it is not just the 24hr time discontinuity that we struggle with - the antimeridian is also a longitudinal discontinuity of 360 degrees for coordinate systems centered at the Greenwich Prime meridian. Whilst Cartesian treatment of geospatial data is a reasonable assumption with an appropriately transformed coordinate system and at large scale (small area), the discontinuities of the antimeridian and the poles frequently wreak havoc on our Cartesian tools when we treat larger area (global / small scale) data.

In this tutorial, join Phileas Elson on our own epic adventure by tracking Fogg’s travel log with careful non-Cartesian treatment as we go. Along the way, we will discover how many of the python libraries we may already know and love can be used in conjunction with cartopy to provide a powerful suite of open source geospatial tools.

We will cover many of the core concepts in cartopy, including topics such as: coordinate reference systems and projections; the matplotlib interface; geospatial image, data (NetCDF) and raster treatment; as well as geometry predicates and transformations. The knowledge developed from this tutorial will be applicable to a broad range of geospatial analyses (both raster and vector), and will provide hands-on experience of tools such as numpy, proj.4, matplotlib and shapely to name a few.

The tutorial will be applicable to a broad range of experiences, but familiarity with numpy and matplotlib will be essential to enable progress through the exercises. A prior awareness of tools such as shapely, proj.4, geopandas, and xarray/Iris will help, though are by no means essential. The tutorial will be made up of a number of exercises with each being designed to accommodate a broad range of expertise.

Installation

Please see the dependency requirements for a list of packages needed to participate in this tutorial.

Of significant note is that this tutorial is only designed for Python 3.6 or greater. Whilst most of the tools are available for earlier versions of Python, the tutorial itself isn’t (and will never be).

Conda

Conda is the recommended tool for installing the dependencies of this tutorial. Users of conda or Anaconda can install the dependencies into a clean environment with:

conda create --file=requirements.txt --channel=conda-forge --name=scipy-cartopy-tutorial

There are a number of large packages in the requirements.txt, and this could take a few minutes to download.

Once installed, the environment can be activated as usual with:

conda activate scipy-cartopy-tutorial

Or for users of older versions of conda source activate scipy-cartopy-tutorial.

Pip

pip is not recommended for installing this tutorial’s dependencies. This is mostly because there are a number of non-trivial (non-python) packages that need to be installed. These are the kinds of packages that a tool like conda was designed for.

Conda environment file

The conda environment under which the tutorial was originally written is available in env-exports/${platform}.txt. This may be useful in ascertaining specific dependency versions were used when developing.

These were produced with conda list --explicit > env-exports/${platform}.txt.

To create a conda environment based on one of the appropriate conda environment files:

conda create --name scipy-cartopy-tutorial --file env-exports/${platform}.txt

Checking the tutorial installation

First, if you have not already done so, activate the tutorial conda environment:

conda activate scipy-cartopy-tutorial

Or for users of older versions of conda source activate scipy-cartopy-tutorial.

Now, run the check_env.py script in the root of this repository. If all the required packages say [ OK ], then you’re ready to start your journey around the world!

Running the tutorial

Once you have installed and checked the necessary dependencies, run jupyter notebook from the root of this repository, and start with introduction.ipynb.

评论

暂无评论