[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[IDV #RWC-894290]: IDV v2.9u4: Computing surface temperature advection from NAM analysis
- Subject: [IDV #RWC-894290]: IDV v2.9u4: Computing surface temperature advection from NAM analysis
- Date: Mon, 09 May 2011 11:25:54 -0600
>
> On May 9, 2011, at 9:28 AM, Unidata IDV Support wrote:
>
> > Hi Dave,
> > The problem here is the difference in the height, the advection formula
> > in the derived does not work in this case.
> > You can add a local formula to do this:
> >
> > def surfaceHorizontalAdvection(aFF, uFF, vFF):
> > udtdx=GridMath.multiply(GridMath.ddx(aFF),uFF);
> > vdtdy=GridMath.multiply(GridMath.ddy(aFF),vFF);
> > advgrid=GridMath.add(udtdx,vdtdy);
> > return advgrid.negate();
> >
> > I tested this in my machine and worked. I will probably make some changes
> > in the source code, so you will not need to do this in the future.
>
> Yuan,
>
> I'll certainly appreciate having the code built into the advection
> formula--thanks!
>
> -- Dave
>
>
I checked in the changes, you can try the nightly tomorrow.
Yuan
> ************************************************************
> * Dr. Dave Dempsey | ^ ___ \|/ *
> * Dept. of Geosciences | ) ^ /||_||\ --0-- *
> * San Francisco State University | ) ) / ||_|| \ /|\ *
> * 1600 Holloway Ave. | ) ) / ||_|| \ *
> * San Francisco, CA 94132 | ) ) / ||_|| \ ^ *
> * | ) ) )
> ||_|| \ *
> * Phone: (415) 338-7716 | ) ) )~||~||~~~~ \~~*
> * FAX: (415) 338-7705 | ) ) ) ) ~ ~ ~ ~ ~ ~*
> * Email: address@hidden | ) ) ) ) ) ~ ~ ~ ~ *
> ************************************************************
>
>
>
>
>
Ticket Details
===================
Ticket ID: RWC-894290
Department: Support IDV
Priority: Normal
Status: Closed