# Cartopy for offline

**URL:** https://discourse.pangeo.io/t/cartopy-for-offline/3284
**Category:** Visualization
**Created:** [March 21, 2023, 11:03pm UTC](https://discourse.pangeo.io/t/cartopy-for-offline/3284 "2023-03-21T23:03:58Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![rlourenco](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pangeo.io/rlourenco/32/2667_2.png) [@rlourenco](https://discourse.pangeo.io/u/rlourenco)
#### Post date: [March 21, 2023, 11:03pm UTC](https://discourse.pangeo.io/t/cartopy-for-offline/3284/1 "2023-03-21T23:03:58Z")

</div>

Hi everyone!

Does anyone knows how to use Cartopy with offline data? I’m intending to use this package ( [Cartopy Offlinedata :: Anaconda.org](https://anaconda.org/conda-forge/cartopy_offlinedata) ) to supply the data, but no clue on how to access it later once installed. I’m an HPC user.

---

<div class="post-metadata">

### Author: ![jsignell](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pangeo.io/jsignell/32/2048_2.png) [@jsignell](https://discourse.pangeo.io/u/jsignell)
#### Post date: [March 24, 2023, 1:12pm UTC](https://discourse.pangeo.io/t/cartopy-for-offline/3284/2 "2023-03-24T13:12:42Z")

</div>

From taking a peek at the implementation ([cartopy\_offlinedata-feedstock/download\_antarctic.py at main · conda-forge/cartopy\_offlinedata-feedstock · GitHub](https://github.com/conda-forge/cartopy_offlinedata-feedstock/blob/main/recipe/download_antarctic.py)) it seems like you don’t need to do anything special. The cartopy\_offline data package will set the config to point to the populated data directory.

I just did a little test locally and it worked as expected without any modifications. I double checked by inspecting the `cartopy.config` settings:

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/pangeo/original/2X/4/41090f401d51c0b5a52624bd838fcfd49aa9739e.png)

---

<div class="post-metadata">

### Author: ![rlourenco](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pangeo.io/rlourenco/32/2667_2.png) [@rlourenco](https://discourse.pangeo.io/u/rlourenco)
#### Post date: [March 24, 2023, 7:41pm UTC](https://discourse.pangeo.io/t/cartopy-for-offline/3284/3 "2023-03-24T19:41:37Z")

</div>

Hi @jsignell ! Yes, it worked like this for me. However, I took an advice from one of the maintainers of the conda-forge repo, regarding the install which I will leave it here just for future reference: [How to use it? · Issue #16 · conda-forge/cartopy\_offlinedata-feedstock · GitHub](https://github.com/conda-forge/cartopy_offlinedata-feedstock/issues/16#issuecomment-1478974914) . Thanks for the help!
