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

[IDV #VRB-317344]: Conversion of infrared data to temperature



Awesome - best of luck Ben!

> OK, Sean.  I'll make those changes after my report is finished.  Right now, 
> everything works, so I can get the job done... that's the key and I can't 
> risk changing something and having it break.
> 
> So, I'll try the rest of these changes in a week or two.  Will also try McV 
> soon.
> 
> Thanks again,
> 
> Ben
> 
> On May 22, 2012, at 10:03 AM, Unidata IDV Support wrote:
> 
> >> What does vecmatg do?
> >
> > vecmath.jar is probably the part of Java3d that contains the linear algebra 
> > routines needed to do 3d visualization. I've learned a bit more about how 
> > the IDV and Java3D play on Macs (kudos to Don Murray). It looks like the 
> > java3d library stuff in ~/Library/Java/Extension is installed by the IDV 
> > (if "Install for this user" is selected when prompted to install JOGL). 
> > Somehow, our copies of the Java3D libs were changed (another package 
> > installed an older copy of J3D maybe?), and we were unable to run the IDV. 
> > I would suggest removing everything from ~/Library/Java/Extensions, and 
> > reinstall the IDV and allow it to put in the latest version of java3d (make 
> > sure to use 'Install for this user" and not for the entire System). Mac 
> > ships with an older version of Java3D that does not play well with the IDV 
> > (which is likely what you are using right now). It works, but things will 
> > go downhill when you try to resize windows, as well as some other issues.
> >
> >>
> >> I'll give McV a shot, too.
> >
> > I just reinstalled McV and it works now too.
> >
> >>
> >> FYI, this is all on the Mac, not the Parallels XP machine running on top 
> >> of it. Tried that, it ran but soon crashed. Not sure why.
> >
> > There are some issues with OpenGL and DirectX calls being made from inside 
> > a virtual machine (which is why not all computer games will run inside a 
> > VM). I've heard tale of the IDV running inside of a VM, but it took a 
> > specific virtual machine manager and a specific flavor of Linux. The option 
> > to run inside a VM is looking promising, but it's not quite there on the VM 
> > software side.
> >
> > Cheers,
> >
> > Sean
> >
> >>
> >> On May 21, 2012, at 11:37, "Unidata IDV Support" <address@hidden> wrote:
> >>
> >>> Great news. I would also remove vecmath.jar (I actually removed 
> >>> everything in that folder - so far, nothing negative). I don't think any 
> >>> part of the MacOS uses java3d, but if it does, I'd be surprised if it 
> >>> relied on something in your home folder (MacOS tends to keep its system 
> >>> VMs - like Java and Python - separate from what users access as well as 
> >>> the users particular home directory).
> >>>
> >>> Also, have you given McV a shot since modifying the contents of 
> >>> ~/Library/Java/Extensions?
> >>>
> >>> Sean
> >>>
> >>>> Sean,
> >>>>
> >>>> Well, I took the plunge, downloaded the latest IDV and deleted those two 
> >>>> java3d jar files, then started IDV3.0U2.  No re-install of the OS, 
> >>>> though.
> >>>>
> >>>> That seems to have done the trick!  IDV is working normally so far.  Now 
> >>>> I'm going to start pushing things a bit further in terms of the data 
> >>>> being read in (size of zidv files) and what I'm trying to do (overlay 
> >>>> flight tracks on satelite, radar and METAR data).
> >>>>
> >>>> Fingers crossed!
> >>>>
> >>>> On May 21, 2012, at 6:00 AM, Unidata IDV Support wrote:
> >>>>
> >>>>> Greetings Ben!
> >>>>>
> >>>>>> Greetings back at you Sean,
> >>>>>>
> >>>>>> First, thank you very much for continuing to work this problem.  I 
> >>>>>> really appreciate it.
> >>>>>>
> >>>>>> Reinstalling the OS, eh?  That seems a little scary to me.... never 
> >>>>>> done it, but I could give it a try.  The new machine is running Snow 
> >>>>>> Leopard, not Lion.  I suppose that the result would be the same.  Do 
> >>>>>> you agree?
> >>>>>
> >>>>> I would think it would be the same, but I'm not sure. At the very 
> >>>>> least, I'd check out what, if anything, lives in 
> >>>>> ~/Library/Java/Extensions
> >>>>>
> >>>>>>
> >>>>>> In the short term, I'm limping along on the older machine, running 
> >>>>>> IDV2.7.2 on Snow Leopard.  I've got a big report due in about a week 
> >>>>>> and can't afford to have anything go weird on my machine until that 
> >>>>>> deadline's passed, so I'm going to wait until that's done before 
> >>>>>> considering reinstalling the OS.  Hope you understand.
> >>>>>
> >>>>> Best wishes on that report! Have you tried updating to the latest IDV 
> >>>>> on your old machine (3.0U2)? Since the IDV uses your system Java, 
> >>>>> installing the new version won't hurt anything, and the performance 
> >>>>> will likely only get better with the newest release (there have been a 
> >>>>> lot of major memory improvements / bug fixes since 2.7.2).
> >>>>>
> >>>>>>
> >>>>>> Another thought.  This machine also runs Windows XP on Parallels on my 
> >>>>>> new machine.  Maybe I could try to run IDV on there if your solution 
> >>>>>> doesn't work out on my new machine?
> >>>>>>
> >>>>>
> >>>>> I have not tried the IDV on Parallels, but it's worth a shot - again, 
> >>>>> it wouldn't hurt anything to give it a try (well, except the 10-15 
> >>>>> minutes to fire up the VM, install the IDV and see how it goes). 
> >>>>> Sometimes the 3D performance on a VM can be lacking, but I've heard 
> >>>>> good things about Parallels. If you give it a shot, please let me know 
> >>>>> how it turns out!
> >>>>>
> >>>>> Cheers!
> >>>>>
> >>>>> Sean
> >>>>>
> >>>>>> Thanks again,
> >>>>>>
> >>>>>> Ben
> >>>>>>
> >>>>>> On May 20, 2012, at 2:01 PM, Unidata IDV Support wrote:
> >>>>>>
> >>>>>>> Greetings Ben!
> >>>>>>>
> >>>>>>> I was finally able to get the IDV going again on my machine (still 
> >>>>>>> getting CGContextGetCTM and CGContextSetBaseCTM error, but they 
> >>>>>>> *seem* harmless at this point). It took two steps. First, I had to 
> >>>>>>> reinstall the OS. On Lion, I was able to just reinstall the System 
> >>>>>>> files without the need to reinstall all of my personal stuff (OS 
> >>>>>>> restore by holding command+r on restart and following the onscreen 
> >>>>>>> prompts). I also found an old copy of Java 3D (newly installed - I 
> >>>>>>> guess from a recent update?) in my home directory in 
> >>>>>>> ~/Library/Java/Extensions - I actually removed all of the stuff in 
> >>>>>>> there and, in combination with the OS reinstall (to completely 
> >>>>>>> refresh the java JRE), I was up and running again. Maybe check in 
> >>>>>>> ~/Library/Java/Extension to see if there are java3d jars and see what 
> >>>>>>> happens if you removed them?
> >>>>>>>
> >>>>>>> Cheers,
> >>>>>>>
> >>>>>>> Sean
> >>>>>>>
> >>>>>>>> IDV2.7.2 at least starts up on the old machine.
> >>>>>>>>
> >>>>>>>> On May 18, 2012, at 10:54, "Unidata IDV Support" <address@hidden> 
> >>>>>>>> wrote:
> >>>>>>>>
> >>>>>>>>> Unfortunately, not yet. I spent a good chunk of time yesterday 
> >>>>>>>>> trying to get things worked out on my machine, and I was unable to 
> >>>>>>>>> make progress. We tested a mac that hadn't been updated in a while 
> >>>>>>>>> and the IDV worked fine...we updated it, and the IDV spit out some 
> >>>>>>>>> warnings, but still ran. It looks this does not affect every Mac. 
> >>>>>>>>> I've found a few things online regarding this kind of error, and it 
> >>>>>>>>> looks like its affecting more than just the IDV and Java3d based 
> >>>>>>>>> applications. I'm hoping Apple will address this soon!
> >>>>>>>>>
> >>>>>>>>> Do you have access to another machine? I hate to say it, but that 
> >>>>>>>>> may be the best bet for now.
> >>>>>>>>>
> >>>>>>>>> Sean
> >>>>>>>>>
> >>>>>>>>>> Hi Sean,
> >>>>>>>>>>
> >>>>>>>>>> Any thoughts on these IDV & McV issues?
> >>>>>>>>>>
> >>>>>>>>>> Ben
> >>>>>>>>>>
> >>>>>>>>>> -------
> >>>>>>>>>> Ben C. Bernstein
> >>>>>>>>>> Leading Edge Atmospherics, LLC
> >>>>>>>>>> 720-771-3324 (cell)
> >>>>>>>>>> http://icingweather.com
> >>>>>>>>>>
> >>>>>>>>>> On May 17, 2012, at 8:34 AM, Unidata IDV Support wrote:
> >>>>>>>>>>
> >>>>>>>>>>> Greetings Ben,
> >>>>>>>>>>>
> >>>>>>>>>>> I downloaded McV and could not get it to run on my system either 
> >>>>>>>>>>> (OSX 10.7.4, Java 1.6.0_31). When I try to run from the command 
> >>>>>>>>>>> line, I get errors like this:
> >>>>>>>>>>>
> >>>>>>>>>>> May 17 08:28:06 micromac java[5507] <Error>: CGContextGetCTM: 
> >>>>>>>>>>> invalid context 0x0
> >>>>>>>>>>> May 17 08:28:06 micromac java[5507] <Error>: CGContextSetBaseCTM: 
> >>>>>>>>>>> invalid context 0x0
> >>>>>>>>>>>
> >>>>>>>>>>> and McV freezes at the "Loading Defaults" screen. When I run the 
> >>>>>>>>>>> IDV, I get the same kinds of errors on the command line, but it 
> >>>>>>>>>>> still starts up...except the Display screen is missing! I'm 
> >>>>>>>>>>> getting Java3D errors, which is preventing the IDV display from 
> >>>>>>>>>>> popping up. After digging around a bit, it seems as though a 
> >>>>>>>>>>> recent Mac update has 'killed' Java3D applications (it's a bigger 
> >>>>>>>>>>> problem than the IDV or McV). I'm still digging around to see if 
> >>>>>>>>>>> there is a solution to this.
> >>>>>>>>>>>
> >>>>>>>>>>> Sean
> >>>>>>>>>>>
> >>>>>>>>>>>> Hi Sean,
> >>>>>>>>>>>>
> >>>>>>>>>>>> I'm running 1.6.0.29
> >>>>>>>>>>>>
> >>>>>>>>>>>> I have an ADDE account with SSEC now, but can't seem to get IDV 
> >>>>>>>>>>>> to talk that account when I tried it a few times yesterday.  
> >>>>>>>>>>>> Figured that I'm doing something wrong... never tried this 
> >>>>>>>>>>>> approach before.
> >>>>>>>>>>>>
> >>>>>>>>>>>> Do you think that I should re-install McV or might Java be the 
> >>>>>>>>>>>> issue?
> >>>>>>>>>>>>
> >>>>>>>>>>>> Thanks again,
> >>>>>>>>>>>>
> >>>>>>>>>>>> Ben
> >>>>>>>>>>>>
> >>>>>>>>>>>> On May 17, 2012, at 6:49 AM, Unidata IDV Support wrote:
> >>>>>>>>>>>>
> >>>>>>>>>>>>> Hi Ben,
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Which version of Java are you using (from the command line: 
> >>>>>>>>>>>>> java -version)? Also, McV is pretty much IDV with some 
> >>>>>>>>>>>>> additions, so if IDV runs, than McV should run.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> The reason I suggest McV is because it comes bundled with the 
> >>>>>>>>>>>>> ADDE server, which does the calculations on the raw files to 
> >>>>>>>>>>>>> convert them into things like IR brightness temperatures. When 
> >>>>>>>>>>>>> you access satellite data through the IDV satellite chooser, 
> >>>>>>>>>>>>> you connect to a remote ADDE server. Then, when you select a 
> >>>>>>>>>>>>> product to view, the ADDE server will do the necessary 
> >>>>>>>>>>>>> calculations before sending you the data to view. When reading 
> >>>>>>>>>>>>> the raw data off of disk, you need a local ADDE server to 
> >>>>>>>>>>>>> active the same functionality, which is why McV bundles the 
> >>>>>>>>>>>>> ADDE server. I think page two of this pdf explains how to do 
> >>>>>>>>>>>>> this in McV:
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> http://www.ssec.wisc.edu/mcidas/software/v/docs/SatelliteImagery1.01.pdf
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Cheers!
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Sean
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> Hi Sean,
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> When I go to run McV, it launches then freezes every time.  I 
> >>>>>>>>>>>>>> had a fairly old version on this machine, so I downloaded the 
> >>>>>>>>>>>>>> latest version and it does exactly the same thing.  Perhaps 
> >>>>>>>>>>>>>> uninstalling McV and reinstalling from scratch would help?
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> Why do you feed that McV is the way to go for this case?
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> Thanks,
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> Ben
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> On May 16, 2012, at 4:54 PM, Unidata IDV Support wrote:
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> Greetings Ben,
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> McV is the way to go for this case. What kind of issues were 
> >>>>>>>>>>>>>>> you having getting McV to run? I ask because many of the 
> >>>>>>>>>>>>>>> machines at SSEC are Macs running Snow Leopard, so it's odd 
> >>>>>>>>>>>>>>> that it won't work for you.
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> Cheers,
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> Sean
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> Hello,
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> I have downloaded some GOES-13 imager AREA files from NCDC's 
> >>>>>>>>>>>>>>>> CLASS site,
> >>>>>>>>>>>>>>>> trying to get a look at the visible and especially the IR 
> >>>>>>>>>>>>>>>> images for a
> >>>>>>>>>>>>>>>> couple of days in November 2010.
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> Using the IDV, I am able to read and plot these fields, but 
> >>>>>>>>>>>>>>>> the data
> >>>>>>>>>>>>>>>> are raw.  I can deal with this for vis imagery because it's 
> >>>>>>>>>>>>>>>> still possible
> >>>>>>>>>>>>>>>> to look at the images and get a feel for how bright they 
> >>>>>>>>>>>>>>>> are.  However,
> >>>>>>>>>>>>>>>> I want to try to view the actual temperatures from the 
> >>>>>>>>>>>>>>>> long-wave IR and
> >>>>>>>>>>>>>>>> don't know how to do that when all I have are the raw value 
> >>>>>>>>>>>>>>>> for channel 4.
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> NOAA's website
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> http://www.oso.noaa.gov/goes/goes-calibration/gvar-conversion.htm
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> provides equations for converting the raw values to 
> >>>>>>>>>>>>>>>> temperatures, but
> >>>>>>>>>>>>>>>> how can I apply such equations in IDV so that I can 
> >>>>>>>>>>>>>>>> calculate/convert
> >>>>>>>>>>>>>>>> from the raw ch-4 values to temperatures then display them?
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> If an alternative data source or method of plotting would be 
> >>>>>>>>>>>>>>>> a better
> >>>>>>>>>>>>>>>> choice than the CLASS/IDV combination that I've chose, 
> >>>>>>>>>>>>>>>> please let me know.
> >>>>>>>>>>>>>>>> As a backup, I tried to use McIDAS-V for this task, but 
> >>>>>>>>>>>>>>>> can't even get
> >>>>>>>>>>>>>>>> the software to run on my machine (Mac OSX10.6.8).
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> Perhaps GINI data could work?  I haven't been able to find a 
> >>>>>>>>>>>>>>>> good archive
> >>>>>>>>>>>>>>>> of that, though.
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> Any help would be appreciated.
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> Many thanks,
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> Ben Bernstein
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> Ticket Details
> >>>>>>>>>>>>>>> ===================
> >>>>>>>>>>>>>>> Ticket ID: VRB-317344
> >>>>>>>>>>>>>>> Department: Support IDV
> >>>>>>>>>>>>>>> Priority: Normal
> >>>>>>>>>>>>>>> Status: Open
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Ticket Details
> >>>>>>>>>>>>> ===================
> >>>>>>>>>>>>> Ticket ID: VRB-317344
> >>>>>>>>>>>>> Department: Support IDV
> >>>>>>>>>>>>> Priority: Normal
> >>>>>>>>>>>>> Status: Open
> >>>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> Ticket Details
> >>>>>>>>>>> ===================
> >>>>>>>>>>> Ticket ID: VRB-317344
> >>>>>>>>>>> Department: Support IDV
> >>>>>>>>>>> Priority: Normal
> >>>>>>>>>>> Status: Open
> >>>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> Ticket Details
> >>>>>>>>> ===================
> >>>>>>>>> Ticket ID: VRB-317344
> >>>>>>>>> Department: Support IDV
> >>>>>>>>> Priority: Normal
> >>>>>>>>> Status: Open
> >>>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> Ticket Details
> >>>>>>> ===================
> >>>>>>> Ticket ID: VRB-317344
> >>>>>>> Department: Support IDV
> >>>>>>> Priority: Normal
> >>>>>>> Status: Open
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>> Ticket Details
> >>>>> ===================
> >>>>> Ticket ID: VRB-317344
> >>>>> Department: Support IDV
> >>>>> Priority: Normal
> >>>>> Status: Open
> >>>>>
> >>>>
> >>>>
> >>>
> >>>
> >>> Ticket Details
> >>> ===================
> >>> Ticket ID: VRB-317344
> >>> Department: Support IDV
> >>> Priority: Normal
> >>> Status: Open
> >>>
> >>
> >>
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: VRB-317344
> > Department: Support IDV
> > Priority: Normal
> > Status: Open
> >
> 
> 


Ticket Details
===================
Ticket ID: VRB-317344
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.