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.
Hi Arlene, I plotted the Temperatures in met5_BRITtoTEMP.wni as a function of brightness: 328.907 - 0 ... 130.000 - 255 and approximated the curve with 8 straight line segments. I then used the numbers to create a stretch table for the METEOSAT-5 IR imagery. Here is a McIDAS BATCH file that creates the stretch: LWU DEL MET5TEMP.ST SU INI MET5TEMP X TEMP SU MAKE MET5TEMP 328.907 282.212 0 118 SU MAKE MET5TEMP 282.211 251.306 119 172 SU MAKE MET5TEMP 251.305 224.490 173 204 SU MAKE MET5TEMP 224.491 202.755 205 221 SU MAKE MET5TEMP 202.754 187.291 222 229 SU MAKE MET5TEMP 187.292 164.396 230 236 SU MAKE MET5TEMP 164.397 130.049 237 240 SU MAKE MET5TEMP 130.050 130.000 241 255 Copy these lines to a BATCH file named MET5ST.BAT in your McIDAS working directory (~mcidas/workdata for the user 'mcidas'; ~mcidas/mcidas/data for all other users) and run BATCH to create a stretch named MET5TEMP.ST For example: BATCH MET5ST.BAT You would then load an METEOSAT-5 image and use BAR to annotate it: IMGDISP ... BAR SU=MET5TEMP Please let me know if this looks correct to you. Cheers, Tom **************************************************************************** Unidata User Support UCAR Unidata Program (303) 497-8642 P.O. Box 3000 address@hidden Boulder, CO 80307 ---------------------------------------------------------------------------- Unidata HomePage http://www.unidata.ucar.edu **************************************************************************** Ticket Details =================== Ticket ID: UNQ-564030 Department: Support McIDAS Priority: Normal Status: Closed