Opened 6 years ago

Closed 3 years ago

#1302 closed enhancement (fixed)

cartopy caches natural_earth shp files

Reported by: darkblueb Owned by: live-demo@…
Priority: normal Milestone: OSGeoLive10.0
Component: OSGeoLive Keywords: python, iris
Cc:

Description

cartopy by default, in order to cache natural_earth and other data, will create a directory tree

    /home/user/.local/share/cartopy/shapefiles

It would be an improvement to manage the duplication for the Live series. Relative to the size of a modern hard disk, even a VM, it is not very much disk space, however.

Change history (12)

comment:1 Changed 6 years ago by kalxas

Milestone: OSGeoLive7.9OSGeoLive8.0

comment:2 Changed 5 years ago by darkblueb

Milestone: OSGeoLive8.0OSGeoLive8.5

this URL now fails :

http://nacis.org/naturalearth/110m/physical/ne_110m_coastline.zip

comment:3 Changed 5 years ago by wildintellect

URL appears to have changed slightly

http://naciscdn.org/naturalearth/110m/physical/ne_110m_coastline.zip

comment:4 Changed 5 years ago by darkblueb

patch checked in as

/home/user/gisvm/app-data/cartopy/a.patch

comment:5 Changed 5 years ago by darkblueb

for a cost of 460K on disk, shapefiles could be pre-cached in the way cartopy expects them

comment:6 Changed 5 years ago by darkblueb

see svn commit revision 12193 close ticket after test

comment:7 Changed 5 years ago by kalxas

Can someone please confirm this as fixed?

comment:8 Changed 4 years ago by kalxas

Milestone: OSGeoLive8.5OSGeoLive9.0

Ticket retargeted after milestone closed

comment:9 Changed 4 years ago by kalxas

Milestone: OSGeoLive9.0OSGeoLive9.5

Ticket retargeted after milestone closed

comment:10 Changed 4 years ago by darkblueb

side note- this has been working for several versions.. no testers to confirm.. onwards..

it looks like IRIS provides iris.sample_data_path .. cartopy equivalent ?

comment:11 Changed 3 years ago by kalxas

Milestone: OSGeoLive9.5OSGeoLive10.0

Ticket retargeted after milestone closed

comment:12 Changed 3 years ago by darkblueb

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.