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.
> > I'm not sure if you have time to revisit this, but I thought I'd ask > since perhaps other people are back from Christmas break. You were > right: it can take a very long time to cut-and-paste. You warned me > about this earlier, but when I first tried it, it took less than 5 > seconds. I don't know if my test case was adequately sized, or if I > passed some threshold, but it took about half an hour for one > cut-and-paste action. And that just one of 2000 or so times. Is there > any other way to get out the lat and lon information from the satellite > image? > Hi David, The answer is yes. To it you need to: first save the image to a nc grid file, and then load the nc file back to the IDV and use the "Formulas > Export > Export Grid to Excel" in the Field Selector to create the excel file with lat/lon. > I've done a variety of things. I tried a jython function on the IDV > webpage > http://www.unidata.ucar.edu/software/idv/docs/userguide/tools/JythonLib.html > called|extractLatitudeFromNWPGrid|. I was able to extract the latitude > of each pixel in the satellite image, but I could not figure out how to > extract longitudes. I tried the command "extractLongitudeFromNWPGrid", > but it doesn't seem to exist. Oddly there is no corresponding jython > function for longitude... No, the extract function for longitude is no there. I think extract latitude function is a side product of creating coriolis grid. Yuan > > > > > > > Hi David. > > > > Dashboard --> Field Selector Tab --> Displays Panel --> General --> > > Grid Table --> Create Display > > > > This action will produce a data table. > > > > Copy and paste your data into a text file. > > > > -Julien > > > >> Thanks for the heads up about PTO. Here's an .xidv file. > >> > >> Have a good vacation! > >> > >> > >> > >> On 12/21/2010 03:19 PM, Unidata IDV Support wrote: > >>> Hi David. > >>> > >>> At this point I need to know more about the data you are looking at. > >>> Please send over some bundles and / or put some data files at > >>> http://motherlode.ucar.edu/repository/alias/idvupload. > >>> > >>> Thanks. > >>> > >>> -Julien > >>> > >>> PS I am on PTO for the next couple of days so support may be slow with > >>> the upcoming Christmas holiday. I will be around next week though. > >>> > >>> > >>>> Hi Julien - > >>>> > >>>> I did what you suggested, but the results look similar to before. The nc > >>>> file still has no lat/lon arrays. Maybe I'm not doing what you > >>>> suggested correctly When you say "sub-setting", is that what I did when > >>>> I requested a 600x1100 pixel grid centered on 14.5N -68 E in the Data > >>>> Choosers panel? Or is it something more? > >>>> > >>>> --Dave > >>>> > >>>> > >>>> > >>>>> Hi David. > >>>>> > >>>>> I would generate the image you want (sub-setting the data as you wish) > >>>>> in the projection you want and then: > >>>>> > >>>>> Dashboard --> Displays Tab --> File Menu --> Save --> > >>>>> Export displayed data to netCDF > >>>>> > >>>>> Give that a shot and let us know how it goes. > >>>>> > >>>>> -Julien > >>>>> > >>>>>> Full Name: David ahijevych > >>>>>> Email Address: address@hidden > >>>>>> Organization: ncar > >>>>>> Package Version: > >>>>>> Operating System: > >>>>>> Hardware: > >>>>>> Description of problem: First I'll state my goal. If you know a way to > >>>>>> do this, then perhaps my netCDF question is irrelevant. Ultimately > >>>>>> I'd like to calculate the mean IR cloud top temperature in concentric > >>>>>> rings around a tropical storm. > >>>>>> > >>>>>> My netCDF question is: how to I export the 2-D lat/lon arrays with the > >>>>>> image? I exported the image array using exportGridToNetcdf, but it is > >>>>>> in satellite projection and I don't know how to convert that to > >>>>>> lat/lon. > >>>>>> Thanks - ! > >>>>>> > >>>>>> > >>>>>> > >>>>> Ticket Details > >>>>> =================== > >>>>> Ticket ID: CQF-979333 > >>>>> Department: Support IDV > >>>>> Priority: Normal > >>>>> Status: Closed > >>>>> > >>> Ticket Details > >>> =================== > >>> Ticket ID: CQF-979333 > >>> Department: Support IDV > >>> Priority: Normal > >>> Status: Closed > >>> > >> > >> > > > > Ticket Details > > =================== > > Ticket ID: CQF-979333 > > Department: Support IDV > > Priority: Normal > > Status: Closed > > > > > > > Ticket Details =================== Ticket ID: CQF-979333 Department: Support IDV Priority: Normal Status: Closed