This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
John-
In the ability to use multiple files for variables in display a graph, Itried to use some arbitrary function = f(TA, QV) and in designing the formula (in this case, I just used: (TA + QV) ), the following display came up allowing me to choose which variable (from the desired file) that I'd like to use... (that's a good design)...TA QVC\IDV_Stuff\vis5d_stuff\MET_CROSS_2.v5d C\IDV_Stuff\vis5d_stuff\MET_CROSS_2.v5d3D grid 3D grid TA TAQV QV C\IDV_Stuff\vis5d_stuff\MET_CROSS_2BB.v5d C\IDV_Stuff\vis5d_stuff\MET_CROSS_2BB.v5d3D grid 3D grid TA TAQV QVBut when I wanted to utilize the arbitrary function: (TA + TA) and usethe first "TA" from one file and use the second "TA" from the other file, say, the IDV choice came up with :TAC\IDV_Stuff\vis5d_stuff\MET_CROSS_2.v5d 3D grid TA QVC\IDV_Stuff\vis5d_stuff\MET_CROSS_2BB.v5d 3D grid TA QVThus, I wasn't able to select a variable (TA in this case) from one fileand also select the second TA (in "(TA + TA)"), from a second file...I wonder if there shouldn't be something of this nature display:TA (for 1st occurrence of TA in "TA + TA") TA (for 2nd occurrenceof TA in "TA + TA") C\IDV_Stuff\vis5d_stuff\MET_CROSS_2.v5d C\IDV_Stuff\vis5d_stuff\MET_CROSS_2.v5d3D grid 3D grid TA TAQV QVC\IDV_Stuff\vis5d_stuff\MET_CROSS_2BB.v5d C\IDV_Stuff\vis5d_stuff\MET_CROSS_2BB.v5d3D grid 3D grid TA TAQV QVThis would allow the user to pick the TA of whichever file they wantedfor each or any of the TAs in the formula... So, with this type of system, it seems asthough when the variables are not alike (ie.: "TA + QV"), one can utilize the feature of using various variables from different files but if the formula had all like variables, (ie.: "TA + TA"), one may not be able to select the appropriate file for each "TA", in this case, to usein graphing the results....
The idea was that if a variable is used more than once in a formula, it was assumed to be the same variable (ie. T-TD/T). So, if you had the variable in the formula 10 times, you didn't have to select it 10 times. In the meantime, you could...
(There may be better ways to accomplish this problem, Don, but the main thing (right now) is just to make you aware of this problem...)....
....create a formula (D1+D2) (or TA1 + TA2 - anything to make them different) and it should allow you choose arbitrary values. This way you could create an arbitrary formula for addition and then select whatever you want to add. Having the variable names does not give you automatic selection in the datatree anyway, so using generic names is just as well. Don Murray *********************************************************************** Unidata User Support UCAR Unidata Program 303 497 8643 P.O. Box 3000 address@hidden Boulder, CO 80307 ----------------------------------------------------------------------- Unidata WWW Service http://my.unidata.ucar.edu/content/support ***********************************************************************