[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #TPR-251498]: Saving Point Data as Gridded Data Files


You will have to define a Jython function and formula.

Here is that Jython function. (Note that I am not a meteorologist or a
scientist. You will have to vet it yourself.)

def horizontalDiv(speed,dir):
    u = speed*newName(sin(dir),"U")
    v = speed*newName(cos(dir),"V")
    return DerivedGridFactory.createHorizontalDivergence(u,v)

See this video on functions and formulas:


Though I am not sure the netCDF file is really what you want, once you have
rendered your data, go to the Displays tab of the dashboard. Select your
horizontal divergence display in the left panel. In the display tab (not the
main File menu) Go to File -> Save, Export Displayed Data to NetCDF.


Unidata IDV

> I uploaded a .csv file to the URL you provided. The filename is 
> 201405010730.csv and contains KSC/CCAFS wind tower observations of T, Td, 
> wind speed, and wind direction. I can open this file in IDV and display, for 
> example wind barbs. What I would like to do, if possible, is perform a Barnes 
> Analysis on the wind observations so I can produce a gridded file of 
> divergence. Using the Field Selector, I can create Gridded Fields of the 
> observed parameters, but I don't see how I can create a derived field from 
> the observations such as divergence.
> Thanks,
> Bill Bauman
> William H. Bauman III, PhD
> Meteorologist | Program Manager
> NASA Applied Meteorology Unit
> Cape Canaveral AFS, FL
> -----Original Message-----
> From: Unidata IDV Support [mailto:address@hidden
> Sent: Thursday, January 15, 2015 4:34 PM
> To: Bauman, William H. (KSC-KSC)[ENSCO INC]
> Cc: address@hidden
> Subject: [IDV #TPR-251498]: Saving Point Data as Gridded Data Files
> Bill,
> What have you tried, how did you try it, and how did it fail?
> If you would like us to look at some data you can tell us where to find it or 
> upload it to http://motherlode.ucar.edu/repository/alias/idvupload.
> Also, please keep in mind the IDV is not officially a data conversion tool.
> Best,
> Unidata
> > Full Name: Bill Bauman
> > Email Address: address@hidden
> > Organization: NASA AMU
> > Package Version: 5.0u2 build date:2014-11-12 20:09 UTC Operating
> > System: Windows 7
> > Hardware: Java: home: C:\Program Files (x86)\IDV_5.0u2\jre version:
> > 1.7.0_51 j3d:1.6.0-pre9-daily-experimental daily Description of problem: I 
> > am using the Kennedy Space Center/Cape Canaveral Air Force Station wind 
> > tower network observations (point data) to display horizontal divergence. I 
> > would like to save the horizontal divergence gridded data in a file on my 
> > local PC so that I can compare it to our local WRF model. I've looked at 
> > the IDV help and I've tried to save the data as Excel and netCDF files with 
> > no success. Any suggestions on how I can do this?
> >
> >
> Ticket Details
> ===================
> Ticket ID: TPR-251498
> Department: Support IDV
> Priority: Normal
> Status: Closed

Ticket Details
Ticket ID: TPR-251498
Department: Support IDV
Priority: Normal
Status: Closed

NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.