<div dir="ltr"><div class="gmail_default" style="font-size:small">Soares,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I suggest contacting wrfhelp regarding a calculation for radiation. They might have already created something that hasn't made it into NCL yet.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I've CC'ed them.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 27, 2016 at 7:57 PM, isakhar sakhar isakhar <span dir="ltr"><<a href="mailto:isakhar.inside13@gmail.com" target="_blank">isakhar.inside13@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hi Karin <br><br></div>Actually I want to integrate my file before to every time step and now I change my script as below;<br><br> rad = 4.0*atan(1)/180<br> radt= wrf_user_getvar(in,"........",time) <----- radiation averaged to mass points<br> radt0(it)=radt(x,y)<br><br></div>I also read the manual of NCL_functions for list of available diagnostics from<strong></strong> this site " <a href="http://www2.mmm.ucar.edu/wrf/OnLineTutorial/Graphics/NCL/NCL_functions.htm" target="_blank">http://www2.mmm.ucar.edu/wrf/OnLineTutorial/Graphics/NCL/NCL_functions.htm</a>" but I could not find any diagnostic for radiation in order to put inside the script to connect with time of my file.<br><br></div>Below of my script, I put also sprintf for the radiation but I don't know exactly the value of sprintf for radiation.<br><br> print (sprintf("%5.0f",it) +" " \<br>+sprintf (" %9.4f", radt0(it)) +" " ) <br><br><br></div>Appreciate for help,<br><br><br></div><div>Regards,<br></div><div>Soares<br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 26, 2016 at 8:25 PM, Karin Meier-Fleischer <span dir="ltr"><<a href="mailto:meier-fleischer@dkrz.de" target="_blank">meier-fleischer@dkrz.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi Soares,<br>
<br>
the variable SWDDIR has 3 dimensions (time, south_north, west_east).
For each time step in your do loop you should use <br>
<br>
cz = in->SWDDIR(it,:,:)<br>
<br>
Bye,<br>
Karin<br>
<br>
<div>Am 26.04.16 um 10:56 schrieb isakhar
sakhar isakhar:<br>
</div>
<blockquote type="cite"><div><div>
<div dir="ltr">
<div>
<div>
<div>Hi NCL talk<br>
<br>
</div>
I run simulation of radiation from two variables such as
SWDDIR ( Shortwave surface downward direct irradiance ) and
SWDDIF ( Shortwave surface downward diffuse irradiance ) but
I got error said ' performASSIGN_VAR_VAR_OP: Number of
subscripts on rhs do not match number of dimensions of
variable, (2) Subscripts used, (3) '.<br>
<br>
</div>
My ncl file and ncdumpt file are in attachment.<br>
<br>
</div>
Soares<br>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
ncl-talk mailing list
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>
List instructions, subscriber options, unsubscribe:
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a>
</pre>
</blockquote>
</div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>