Contribute
Posted by drj
We welcome help and contributions from other people.
Please start by joining our mailing list (at Google Groups); and perhaps by browsing the code for the currently active ccc-gistemp project.
Posted by drj
We welcome help and contributions from other people.
Please start by joining our mailing list (at Google Groups); and perhaps by browsing the code for the currently active ccc-gistemp project.
July 16th, 2010 at 2:18 pm
I tried to run the code of ccc-gisstemp-0.4.1 – as root under Linux (Suse Linux 10.2 – kernel (Linux ibk-node14 2.6.18.2-34-default #1 SMP Mon Nov 27 11:46:27 UTC 2006 i686 i686 i386 GNU/Linux
) and python 2.5
However it produced an error:
ibk-node14:/home/kampmann/Projekte/GlobalWarming/ccc-giss # python tool/run.py
MISSING: input/antarc1.list
MISSING: input/antarc1.txt
MISSING: input/antarc2.list
MISSING: input/antarc2.txt
MISSING: input/antarc3.list
MISSING: input/antarc3.txt
MISSING: input/t_hohenpeissenberg_200306.txt_as_received_July17_2003
MISSING: input/ushcn2.tbl
MISSING: input/ushcnV2_cmb.tbl
MISSING: input/mcdw.tbl
MISSING: input/ushcn2.tbl
MISSING: input/sumofday.tbl
MISSING: input/v2.inv
MISSING: input/oisstv2_mod4.clim.gz
MISSING: input/v2.mean
MISSING: input/ushcnv2
MISSING: input/SBBX.HadR2
Attempting to fetch missing files: antarc1.list antarc1.txt antarc2.list antarc2.txt antarc3.list antarc3.txt t_hohenpeissenberg_200306.txt_as_received_July17_2003 ushcn2.tbl ushcnV2_cmb.tbl mcdw.tbl ushcn2.tbl sumofday.tbl v2.inv oisstv2_mod4.clim.gz v2.mean ushcnv2 SBBX.HadR2
Extracting members from http://data.giss.nasa.gov/gistemp/sources/GISTEMP_sources.tar.gz …
Traceback (most recent call last):
File “tool/run.py”, line 225, in
sys.exit(main())
File “tool/run.py”, line 172, in main
preflight.checkit(sys.stderr)
File “/home/kampmann/Projekte/GlobalWarming/ccc-giss/tool/preflight.py”, line 103, in checkit
fetch.main(argv=[‘fetch’] + missing)
File “/home/kampmann/Projekte/GlobalWarming/ccc-giss/tool/fetch.py”, line 402, in main
fetch(args)
File “/home/kampmann/Projekte/GlobalWarming/ccc-giss/tool/fetch.py”, line 217, in fetch
handler[hname](group, prefix, output)
File “/home/kampmann/Projekte/GlobalWarming/ccc-giss/tool/fetch.py”, line 260, in fetch_tar
compression_type=tar_compression_type)
File “/home/kampmann/Projekte/GlobalWarming/ccc-giss/tool/fetch.py”, line 346, in fetch_from_tar
tar = tarfile.open(”, mode=’r|%s’ % compression_type, fileobj=inp)
File “/usr/lib/python2.5/tarfile.py”, line 1046, in open
_Stream(name, filemode, comptype, fileobj, bufsize))
File “/usr/lib/python2.5/tarfile.py”, line 352, in __init__
self._init_read_gz()
File “/usr/lib/python2.5/tarfile.py”, line 439, in _init_read_gz
raise ReadError(“not a gzip file”)
tarfile.ReadError: not a gzip file
ibk-node14:/home/kampmann/Projekte/GlobalWarming/ccc-giss # python tool/run.py
MISSING: input/antarc1.list
MISSING: input/antarc1.txt
MISSING: input/antarc2.list
MISSING: input/antarc2.txt
MISSING: input/antarc3.list
MISSING: input/antarc3.txt
MISSING: input/t_hohenpeissenberg_200306.txt_as_received_July17_2003
MISSING: input/ushcn2.tbl
MISSING: input/ushcnV2_cmb.tbl
MISSING: input/mcdw.tbl
MISSING: input/ushcn2.tbl
MISSING: input/sumofday.tbl
MISSING: input/v2.inv
MISSING: input/oisstv2_mod4.clim.gz
MISSING: input/v2.mean
MISSING: input/ushcnv2
MISSING: input/SBBX.HadR2
Attempting to fetch missing files: antarc1.list antarc1.txt antarc2.list antarc2.txt antarc3.list antarc3.txt t_hohenpeissenberg_200306.txt_as_received_July17_2003 ushcn2.tbl ushcnV2_cmb.tbl mcdw.tbl ushcn2.tbl sumofday.tbl v2.inv oisstv2_mod4.clim.gz v2.mean ushcnv2 SBBX.HadR2
Extracting members from http://data.giss.nasa.gov/gistemp/sources/GISTEMP_sources.tar.gz …
Traceback (most recent call last):
File “tool/run.py”, line 225, in
sys.exit(main())
File “tool/run.py”, line 172, in main
preflight.checkit(sys.stderr)
File “/home/kampmann/Projekte/GlobalWarming/ccc-giss/tool/preflight.py”, line 103, in checkit
fetch.main(argv=[‘fetch’] + missing)
File “/home/kampmann/Projekte/GlobalWarming/ccc-giss/tool/fetch.py”, line 402, in main
fetch(args)
File “/home/kampmann/Projekte/GlobalWarming/ccc-giss/tool/fetch.py”, line 217, in fetch
handler[hname](group, prefix, output)
File “/home/kampmann/Projekte/GlobalWarming/ccc-giss/tool/fetch.py”, line 260, in fetch_tar
compression_type=tar_compression_type)
File “/home/kampmann/Projekte/GlobalWarming/ccc-giss/tool/fetch.py”, line 346, in fetch_from_tar
tar = tarfile.open(”, mode=’r|%s’ % compression_type, fileobj=inp)
File “/usr/lib/python2.5/tarfile.py”, line 1046, in open
_Stream(name, filemode, comptype, fileobj, bufsize))
File “/usr/lib/python2.5/tarfile.py”, line 352, in __init__
self._init_read_gz()
File “/usr/lib/python2.5/tarfile.py”, line 439, in _init_read_gz
raise ReadError(“not a gzip file”)
tarfile.ReadError: not a gzip file
ibk-node14:/home/kampmann/Projekte/GlobalWarming/ccc-giss #
Now: what did I do wrong?
July 16th, 2010 at 3:35 pm
Er, I was going to say, this is Issue 65 again, but it’s not quite, I think.
Jorge, can you join the mailing list (I think you’ve done that already) and post this again, and we can discuss where to go from there, if you have a little time to spare?
A good first step would be to use the most recent version from SVN.
I am planning a new release.
April 14th, 2012 at 7:42 pm
I cant run your code it crashes always on not being able to find v2.mean.zip
I waited a couple months to see if the file would appear but no.
Couldn’t you all at least post an alternate backup in case the latest file is not there? as it its, your project is completely dead on the water, it just crashes without providing any thing use full. How have you al been able to use it in the last three months?
May 31st, 2012 at 11:25 am
Andrejs, the problem there is that GHCN moved on to version 3 – a different file and a different format – in 2010, and moved the version 2 files in preparation for retiring them some months ago. We updated ccc-gistemp to be able to use the GHCN v3 file back in 2010, but I didn’t merge that into the mainstream until last week: we’ve been busy with other matters.
If you sync the current sources from googlecode, you should be able to run ccc-gistemp which is fully up-to-date with respect to this and other changes in the GISTEMP algorithm (in addition to some other improvements).