Opened 10 years ago

Closed 8 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 by kalxas, 10 years ago

Milestone: OSGeoLive7.9OSGeoLive8.0

comment:2 by darkblueb, 9 years ago

Milestone: OSGeoLive8.0OSGeoLive8.5

this URL now fails :

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

comment:3 by wildintellect, 9 years ago

URL appears to have changed slightly

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

comment:4 by darkblueb, 9 years ago

patch checked in as

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

comment:5 by darkblueb, 9 years ago

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

comment:6 by darkblueb, 9 years ago

see svn commit revision 12193 close ticket after test

comment:7 by kalxas, 9 years ago

Can someone please confirm this as fixed?

comment:8 by kalxas, 9 years ago

Milestone: OSGeoLive8.5OSGeoLive9.0

Ticket retargeted after milestone closed

comment:9 by kalxas, 9 years ago

Milestone: OSGeoLive9.0OSGeoLive9.5

Ticket retargeted after milestone closed

comment:10 by darkblueb, 8 years ago

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 by kalxas, 8 years ago

Milestone: OSGeoLive9.5OSGeoLive10.0

Ticket retargeted after milestone closed

comment:12 by darkblueb, 8 years ago

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