mathuin/TopoMC — Issue #7: Failure in GetDataset.py (main->extractFiles->getmember-> file not found)
Author: pm2845
Created: 2012-02-14 08:24:56+00:00
State: open

Hi! Cool program!

I was trying to do the demo from the website on New York City, but I ran into the following problem:

Command was "python GetDataset.py --region NewYorkCity --ymax 40.771 --ymin 40.683 --xmin -74.0490 --xmax -73.9610"

Results were:
P:\Minecraft\TopoMC>python GetDataset.py --region NewYorkCity --ymax 40.771 --ym
in 40.683 --xmin -74.0490 --xmax -73.9610
ERROR 4: `Datasets\NewYorkCity\L0102HT\L0102HT.tif' does not exist in the file s
ystem,
and is not recognised as a supported dataset name.

ERROR:dataset:NewYorkCity: lc dataset didn't open
Retrieving new dataset NewYorkCity...
Checking inventory service for coverage.
Inventory service has the following product IDs: L01,ND9
Configured the following layer IDs: L0102HT,ND902HT
Requested URLs for layer ID L0102HT...
Requested URLs for layer ID ND902HT...
Received download URLs, downloading now!
Requesting download.
request ID is 20120214.020743712.075158140096
status is Extracting Data
status is Extracting Data
status is Extracting Metadata
status is Extracting Metadata
status is
status is Retrieving Remote Archive File
downloading 50062529.tgz now!
Requesting download.
request ID is 20120214.021015961.075158140096
status is Extracting Data
status is Retrieving Remote Archive File
downloading 13173707.tgz now!
Traceback (most recent call last):
File "GetDataset.py", line 504, in
sys.exit(main(sys.argv))
File "GetDataset.py", line 498, in main
extractFiles(datasetDir)
File "GetDataset.py", line 394, in extractFiles
cFile.extract(compimage, layersubdir)
File "C:\Python27\lib\tarfile.py", line 2074, in extract
tarinfo = self.getmember(member)
File "C:\Python27\lib\tarfile.py", line 1794, in getmember
raise KeyError("filename %r not found" % name)
KeyError: "filename '13173707\\\\13173707.tif' not found"

Thanks for your help!