Closed GoogleCodeExporter closed 9 years ago
(Code works fine when I run it on Python 2.5.1)
Original comment by bcrou...@gmail.com
on 6 Mar 2010 at 2:55
Same as issue 44. Please try again with revision 350.
Original comment by nick.bar...@gmail.com
on 6 Mar 2010 at 3:32
Sorry for the dupe- will try again-
Original comment by bcrou...@gmail.com
on 6 Mar 2010 at 4:29
@bcrounse: Are you sure it worked with Python 2.5.1? That seems very
surprising.
Original comment by d...@ravenbrook.com
on 8 Mar 2010 at 2:21
Yes- I went back through the history and verified that I did indeed run it with
2.5.1. It worked; here's the google-chart.url:
$ cat google-chart.url
http://chart.apis.google.com/chart?cht=lc&chds=-100,100&chd=t:-28,-21,-26,-28,-3
2,-32,-29,-36,-27,-17,-39,-27,-31,-33,-33,-25,-15,-11,-25,-15,-7,-14,-24,-30,-35
,-24,-18,-39,-33,-35,-33,-34,-32,-30,-15,-9,-30,-39,-33,-19,-19,-15,-26,-22,-21,
-17,-2,-15,-12,-26,-8,-2,-8,-19,-7,-12,-5,7,10,1,5,10,3,9,20,6,-5,1,-4,-7,-16,-3
,3,11,-10,-10,-17,8,9,6,0,8,4,8,-21,-11,-3,-1,-4,8,3,-10,0,14,-8,-5,-16,12,1,9,1
8,26,5,26,9,5,12,26,31,19,37,34,12,13,23,37,29,39,56,31,32,47,55,54,47,62,54,56,
44,57,-999&chxt=x,y,r&chxl=0:|1880||||||||||1890||||||||||1900||||||||||1910||||
||||||1920||||||||||1930||||||||||1940||||||||||1950||||||||||1960||||||||||1970
||||||||||1980||||||||||1990||||||||||2000||||||||||2010|1:||-0.5|+0.0|+0.5||2:|
|-0.5|+0.0|+0.5|&chco=ff0000,000000&chs=600x500
The funny thing is that it won't run now-
$ /usr/bin/python ./tool/run.py
MISSING: input/mcdw.tbl
MISSING: input/sumofday.tbl
MISSING: input/v2.inv
MISSING: input/oisstv2_mod4.clim.gz
MISSING: input/9641C_201002_F52.avg
Attempting to fetch missing files: mcdw.tbl sumofday.tbl v2.inv
oisstv2_mod4.clim.gz
9641C_201002_F52.avg
Extracting members from
http://data.giss.nasa.gov/gistemp/sources/GISTEMP_sources.tar.gz ...
... finished extracting
9641C_201002_F52.avg.gz
ftp://ftp.ncdc.noaa.gov/pub/data/ushcn/v2/monthly/9641C_201002_F52.avg.gz
0
MISSING: input/mcdw.tbl
MISSING: input/sumofday.tbl
MISSING: input/v2.inv
MISSING: input/oisstv2_mod4.clim.gz
MISSING: input/9641C_201002_F52.avg
PROBLEM: Tried fetching missing files but it didn't work.
====> STEPS 0 to 5 ====
Traceback (most recent call last):
File "./tool/run.py", line 225, in <module>
sys.exit(main())
File "./tool/run.py", line 206, in main
data = step_fn[step](data)
File "./tool/run.py", line 56, in run_step0
data = giss_io.step0_input()
File "/Users/brian/SourceCode/ccc-gistemp-ro-2010-03-05/tool/giss_io.py", line 655,
in step0_input
"input/t_hohenpeissenberg_200306.txt_as_received_July17_2003")
File "/Users/brian/SourceCode/ccc-gistemp-ro-2010-03-05/tool/giss_io.py", line 606,
in read_hohenpeissenberg
record = code.giss_data.StationRecord('617109620002')
File "/Users/brian/SourceCode/ccc-gistemp-ro-2010-03-05/code/giss_data.py", line
584, in __init__
self.source = v2_sources().get(uid, "UNKNOWN")
File "/Users/brian/SourceCode/ccc-gistemp-ro-2010-03-05/code/giss_data.py", line
185, in v2_sources
_v2_sources = read_config.v2_get_sources()
File "/Users/brian/SourceCode/ccc-gistemp-ro-2010-03-05/code/read_config.py", line
23, in v2_get_sources
for line in open('input/%s.tbl' % source.lower()):
IOError: [Errno 2] No such file or directory: 'input/mcdw.tbl'
Rather than being a time sink for you all, I'm going to lay low for awhile and
try
again in a few more revs...
Original comment by bcrou...@gmail.com
on 9 Mar 2010 at 3:26
Looks like you deleted your inputs at some point, and when you came to try the
second time, NOAA had
renamed the USHCN v2 file, so we couldn't fetch it. It really should work with
a current SVN version, or you can
wait only a very short time for our 0.4.0 release. Or you can fetch the USHCN
file by hand and rename it.
Original comment by d...@pobox.com
on 9 Mar 2010 at 11:01
I'll keep plugging away. At some point I'll move beyond being a time-sucking
n00b-
Original comment by bcrou...@gmail.com
on 9 Mar 2010 at 2:29
The underlying issue was never fully resolved but I believe that ccc-gistemp
works on all reasonable Python versions, and that it correctly finds and
downloads USHCN data.
I'm closing this as WontFix, please raise another issue if it strikes again.
Original comment by d...@ravenbrook.com
on 18 Aug 2010 at 9:51
Original issue reported on code.google.com by
bcrou...@gmail.com
on 6 Mar 2010 at 2:54