[ncl-talk] SWDDIR and SWDDIF

Mary Haley haley at ucar.edu
Thu Apr 28 11:27:32 MDT 2016


Soares,

I suggest contacting wrfhelp regarding a calculation for radiation.  They
might have already created something that hasn't made it into NCL yet.

I've CC'ed them.

--Mary


On Wed, Apr 27, 2016 at 7:57 PM, isakhar sakhar isakhar <
isakhar.inside13 at gmail.com> wrote:

> Hi Karin
>
> Actually I want to integrate my file before to every time step and now I
> change my script as below;
>
>    rad = 4.0*atan(1)/180
>    radt= wrf_user_getvar(in,"........",time)    <----- radiation averaged
> to mass points
>    radt0(it)=radt(x,y)
>
> I also read the manual of NCL_functions for list of available diagnostics
> from this site "
> http://www2.mmm.ucar.edu/wrf/OnLineTutorial/Graphics/NCL/NCL_functions.htm"
> but I could not find any diagnostic for radiation in order to put inside
> the script to connect with time of my file.
>
> Below of my script, I put also sprintf for the radiation but I don't know
> exactly the value of sprintf for radiation.
>
>  print (sprintf("%5.0f",it)    +" " \
> +sprintf ("              %9.4f", radt0(it)) +"  " )
>
>
> Appreciate for help,
>
>
> Regards,
> Soares
>
> On Tue, Apr 26, 2016 at 8:25 PM, Karin Meier-Fleischer <
> meier-fleischer at dkrz.de> wrote:
>
>> Hi Soares,
>>
>> the variable SWDDIR has 3 dimensions (time, south_north, west_east). For
>> each time step in your do loop you should use
>>
>> cz = in->SWDDIR(it,:,:)
>>
>> Bye,
>> Karin
>>
>> Am 26.04.16 um 10:56 schrieb isakhar sakhar isakhar:
>>
>> Hi NCL talk
>>
>> 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) '.
>>
>> My ncl file and ncdumpt file are in attachment.
>>
>> Soares
>>
>>
>> _______________________________________________
>> ncl-talk mailing listncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160428/a5cffab8/attachment.html 


More information about the ncl-talk mailing list