daily pastebin goal
72%
SHARE
TWEET

Untitled

a guest Jan 18th, 2019 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. geoserver.catalog.FailedRequestError: Failed to load coverage information:Failed to create reader from file:/home/tomcat/data/GaiaGisDataDir/MOSAIC_DATA_DIR/id1626s011002r000-europe/ and hints null
  2.    
  3. from geoserver.catalog import Catalog, FailedRequestError
  4. from sys import argv
  5.  
  6.  
  7. GEOSERVER_SERVER = argv[1]
  8. GEOSERVER_USERNAME = argv[2]
  9. GEOSERVER_PASSWORD = argv[3]
  10.  
  11.  
  12.  
  13. cat = Catalog(GEOSERVER_SERVER, username=GEOSERVER_USERNAME, password=GEOSERVER_PASSWORD)
  14. all_stores = cat.get_stores()
  15. for s in all_stores:
  16.        coverages = cat.mosaic_coverages(s)
  17.        print coverages
  18.        all_granules = cat.list_granules(coverages['coverages']['coverage'][0]['name'],s)
  19.        print all_granules
  20.    
  21. drwxrwxr-x   3 tomcat    tomcat  16384 Jul 31  2017 ./
  22. drwxr-xr-x 614 tomcat    tomcat  45056 Jan 12 09:07 ../
  23. -rw-rw-r--   1 tomcat    tomcat    345 May 27  2016 datastore.properties
  24. -rw-rw-r--   1 tomcat    tomcat    231 May 27  2016 indexer.properties
  25. drwxrwxr-x   6 tomcat    tomcat   4096 Nov  3  2016 .svn/
  26. -rw-rw-r--   1 tomcat    tomcat     23 May 27  2016 timeregex.properties
  27. -rw-rw-rw-   1 eumetflow tomcat 113094 Jan 10 17:43 wind_p011002_BL_4326_id1626s011002r000-europe_20190110T144300.gaiag.tif
  28. -rw-rw-rw-   1 eumetflow tomcat 113666 Jan 10 17:43 wind_p011002_BL_4326_id1626s011002r000-europe_20190110T144600.gaiag.tif
  29. -rw-rw-rw-   1 eumetflow tomcat 115606 Jan 10 19:23 wind_p011002_BL_4326_id1626s011002r000-europe_20190110T162200.gaiag.tif
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top