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.
> Just uploaded a test shapefile. > > Thanks, > Katie > Katie, I have no problem doing this in my local machine. Here is the precedure: 1) Load and display the map file. 2) Load the grid file 3) Formulas > Grids > Define a grid diagnostic, and select Color shaded Plan view in the Displays, and Create Display 3) Enter add(a,b) in the popup 4) Select Formulas > Maps > subset field from map in both File a and b 5) Select a grid field (I select Pressure at surface for both a and b), and the map to be subset from. It should work, let me know if it doesn't Yuan > > -----Original Message----- > From: Unidata IDV Support [mailto:address@hidden] > Sent: Thu 7/8/2010 6:49 PM > To: Carbonari, Katie (IS) > Cc: address@hidden > Subject: EXTERNAL:[IDV #GQT-280560]: problem with subsetFromMap > > > Full Name: katie carbonari > > Email Address: address@hidden > > Organization: NG > > Package Version: 2.9 build date:2010-05-27 15:48 UTC > > Operating System: Linux > > Hardware: Java: home: /home/kmc/IDV_2.9/jre version: 1.6.0_20 j3d:1.5.2 fcs > > (build4) > > Description of problem: > > > > Trying to sum 2 variables (both are in mm) and display as a subset of a > > map. The map I'm subsetting from is a shapefile. I am able to sum my 2 > > variables and display as a color-shaded plan view with no problems. I'm > > also able to take either of the variables and display as a subsetFromMap > > as a color-shaded Image. But trying to do both (summing the variables > > and then subsetting from a map) gives me the following error. > > > > Any idea of what I'm doing wrong? > > > > Thanks > Katie, > It sounds like a bug, could you upload a sample shapefile here: > > http://motherlode.ucar.edu/repository/alias/idvupload > > Yuan > > > > Creating display: Color-Shaded Plan View > > NameError: subsetFromMap > > org.python.core.PyException > > > > ****************** > > Stack trace: > > Traceback (innermost last): > > File "<string>", line 1, in ? > > NameError: subsetFromMap > > > > > > > > > Ticket Details > =================== > Ticket ID: GQT-280560 > Department: Support IDV > Priority: Normal > Status: Open > > > > Ticket Details =================== Ticket ID: GQT-280560 Department: Support IDV Priority: Normal Status: Closed