Displaying 3 results from an estimated 3 matches for "gribdata".
Did you mean:
grib_data
2006 Nov 20
3
problem with loop to put data into array with missing data forsome files
...gt;the code at the end of this message. I had to use grep to extract the
>PRATE
>records each time, as unfortunately with these grib files precipitation
>is not
>always the same record number each time.
>
>This worked fine until Feb 1972 (which is file
>/home/jmb/sst_precip/gribdata/197202.grib). This file did not download
>completely and as a result the file that saved to my computer did not
>include
>the record for precipitation - only the first 13 records. At this point
>in the
>loop it just stopped with error message:
>Error in seq.default(lat.beg, lat...
2006 Nov 20
2
problem with loop to put data into array with missing data for some files
...ing wgrib and grep as show in
the code at the end of this message. I had to use grep to extract the PRATE
records each time, as unfortunately with these grib files precipitation is not
always the same record number each time.
This worked fine until Feb 1972 (which is file
/home/jmb/sst_precip/gribdata/197202.grib). This file did not download
completely and as a result the file that saved to my computer did not include
the record for precipitation - only the first 13 records. At this point in the
loop it just stopped with error message:
Error in seq.default(lat.beg, lat.end, length = ny) :...
2006 Nov 23
3
reaccessing array at a later date - trying to write it to file
...ay(NA, c(nyr*12, 94*192))
)
I tried
> save(data.out, file="/home/jenny/data/data.out.RData", ascii=TRUE) and
combination of ways to re-access it but I couldn't reaccess it and therefore use
the data within.
I then tried
> dput(data.out,file="/home/jmb/sst_precip/gribdata/data.out.RData",
control="showAttributes")
#but the associated dget seemed to freeze my terminal window up and took much
too long (I gave up after about 15 minutes) to read this file.
Does anybody have an idea about another way (or a way within these methods) to
come back to my d...