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

[IDV #UIE-572577]: Adding more than 3 files

Greetings Vanessa,

There may be a formula already defined in the IDV that you can use. 
However, you'll need to aggregate your grib files. You can load multiple 
grib files into the IDV as one data source by doing the following: in the 
Data Choosers, select the grib files you'd like to load and then set the 
Data Source Type to Aggregate Grids by Time before adding the source. 
Once you have added the source, you can use the formula 
"Grids -> Time Steps -> Total sum over time steps" to compute the total 
sum of a field over the grids you've loaded into the IDV.



> Full Name: Vanessa Vincente
> Email Address: address@hidden
> Organization: Colorado State University
> Package Version: 3.0u3 build date:2012-06-24 07:18 UTC
> Operating System: Mac OS X
> Hardware: Java: home: 
> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home version: 
> 1.6.0_31 j3d:1.5.2 fcs (build4)
> Description of problem:
> Creating display: Color-Filled Contour Plan View
> TypeError: add() takes at most 3 arguments (4 given)
> org.python.core.PyException
> Problem:  I am trying to add more than three seperate Precipitation GRIB
> files together.  For example, if I wanted "Total         Precipitation"
> over a 6-hour period, I would add 6 seperate GRIB files.  Is there a
> way I can write a formula that will add more than 3 seperate files?
> Thank You
> ******************
> Stack trace:
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> TypeError: add() takes at most 3 arguments (4 given)

Ticket Details
Ticket ID: UIE-572577
Department: Support IDV
Priority: Normal
Status: Open

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.