Re: Printing time series from wrfout

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Fri Jun 15 2012 - 08:09:41 MDT

Elena,

Can you provide your script and data so I can see what the issue is? Are you getting some kind of error about the memory?

If you can provide the script and data, you can use our ftp account for this. Please see:

http://www.ncl.ucar.edu/report_bug.shtml#HowToFTP

Thanks,

--Mary

On Jun 15, 2012, at 2:02 AM, Elena Maria Pison San Pedro wrote:

> Hi Mary,
>
> Thanks for your prompt answer. It worked taking out of the do (time) loop. If I print the Total_Rain_acc I can see the program is adding it, BUT
> I can’t manage to keep it in memory in order to print it in the ascii file. I’ve tried all the possible combinations of loops but impossible! I keep having the same last value of the loop repeated for the whole number of time loops!
>
> About the “copy coord vars” I am in the controversy of :
> - if I use copy_VarCoords(RAINNC_a,Total_Rain_acc(it)), with the (it) dependence ---I have no ERROR
>
> - If I take out the (it), ----ERROR: copy_VarCoords: dimension sizes do not match, and then I don’t know how to say the program to print the Total_Rain for every time
>
> Any idea?
>
> Thanks a lot!
> Elena
>
> From: Mary Haley [mailto:haley@ucar.edu]
> Sent: Thursday, 14 June, 2012 10:01 PM
> To: Elena Maria Pison San Pedro
> Cc: ncl-talk@ucar.edu
> Subject: Re: Printing time series from wrfout
>
> You have this line inside your do loop:
>
> Total_Rain_acc = new(ntimes,float) ; creation of a RAIN+RAINNC field a\
>
>
> This is effectively clobbering any values you put in this variable from the previous iteration. You should move this line before the do loop.
>
> Also, I'm not sure what this code is doing:
>
> copy_VarCoords(RAINNC_a,Total_Rain_acc(it)) ; copy coord vars to Total_rain_acc
>
> Does this give you an error? Usually you copy variable coordinates from variable to variable, and not to a scalar.
>
> --Mary
>
> On Jun 14, 2012, at 1:29 AM, Elena Maria Pison San Pedro wrote:
>
>
> Hello,
>
> I’m trying to print in ascii format time series for specific locations and for all the times found it in the original wrfout-file.
> When I print it on the screen the values appears so the program is reading them but when I open the “.txt” file produced then the is a repetition of the last value.
> Attached are the ncl script and the output.txt file.
>
> Anyone know what I’m doing wrong?
>
> Thanks a lot in advanced!!!
>
> Best Regards,
> Elena
>
>
>
> <RAIN+RAINNC.ncl><Sarawak_TimeSeries.txt>_______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
> <RAIN+RAINNC.ncl><Sarawak_TimeSeries.txt>_______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Jun 15 08:09:49 2012

This archive was generated by hypermail 2.1.8 : Fri Jun 15 2012 - 14:51:31 MDT