[gradsusr] Change of month
James T. Potemra
jimp at hawaii.edu
Mon Sep 28 15:22:44 EDT 2015
Miquel,
We'd need to see you control files, but I suspect the TDEF line is
causing problems. I believe this gets set with your first open file.
For example, if you open a file and "set t 1", time will get set to some
date as defined in that control file. If the subsequent files don't
have this date defined you'll get the grid coordinate error. You could
issue a "set dfile" command to re-set the coordinates.
Jim
On 9/28/15 3:12 PM, Miquel Bernis wrote:
> Thanks a lot for your answer Jeff. I'm not sure how can I give more
> clues about the error. There's no problem when I work with the files
> separately, only when I operate between files in a different month. I
> realized that there's something wrong about the time vars. When I open
> consecutive files 24z, 30z, 36z, 42z... the first one has the right
> time value, but the next ones shows a change of month, instead of just
> a 6h advance:
>
> ga-> set t 1
> Time values set: 2015:9:30:6 2015:9:30:6
> ga-> set t 2
> Time values set: 2015:10:30:6 2015:10:30:6
> ga-> set t 3
> Time values set: 2015:11:30:6 2015:11:30:6
> ga-> set t 4
> Time values set: 2015:12:30:6 2015:12:30:6
> ga->
>
> If open the files separately there's no time problem. Kind of weird.
>
> Anyway, you suggested:
>
> "I would just use templates and do the sum over different time index
> values"
>
> I'm sorry, I don't understand that. Maybe you can tell the same in
> another way or with more details. It would be helpful.
>
> Thanks a lot again.
> Miquel
>
>
>
>
>
>
>
>
> ,
>
> 2015-09-28 17:51 GMT+02:00 Jeff Duda <jeffduda319 at gmail.com
> <mailto:jeffduda319 at gmail.com>>:
>
> Perhaps some more information on the specifics of the problem
> would help us to troubleshoot. However, if you're summing precip
> totals from a single GFS run, I would just use templates and do
> the sum over different time index values.
>
> Jeff Duda
>
> On Mon, Sep 28, 2015 at 4:19 AM, Miquel Bernis
> <bernisfeina at gmail.com <mailto:bernisfeina at gmail.com>> wrote:
>
> Hi everyone,
>
> I'm stucked in a problem that might be simple to fix, maybe
> any of you could help me. The point is that I can't operate
> with files when there's change of month. I'm working with GFS
> 0.25, and when I try to sum the rain of the last file of month
> with the rain of the first file of the moth ahead, it returns
> and error like this:
>
> Invalid grid coordinates
> World coordinates convert to non-integer grid coordinates
> Variable = apcpsfc Dimension = 3
>
> Has any of you a solution for that?
> Thank you very much.
> I'll really appreciate your help.
>
> Miquel
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org <mailto:gradsusr at gradsusr.org>
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
>
>
> --
> Jeff Duda
> Graduate research assistant
> University of Oklahoma School of Meteorology
> Center for Analysis and Prediction of Storms
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org <mailto:gradsusr at gradsusr.org>
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150928/b3d8bb0a/attachment-0001.html
More information about the gradsusr
mailing list