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

20000725: brightness legend on satellite pictures (fwd)



Chris, 
Its possible that the Garp routines did not relink to the updated gemlib.

See if the new .o files are in fact in gemlib:

ar tv $GEMLIB/gemlib.a imar2gm.o imcalib.o imdrop.o imrtbl.o

This should echo out the time of the object files. They should be from your
build of the patch...but if they're older, it would mean that your objects were 
newer than the timestamps of the files I posted. You can fix that by
cd'ing to the gemlib/im directory and issuing the "touch" command to 
update the timestams on that patch .f routines and then reissuing the make 
command in 
that directory. That should show each of those routines getting built and added
to the library.


We can first verify that the im library updates are in place.

cd $GEMPAKHOME/source/gemlib/im
make tlink

then, run:
$GEMEXE/testim

When the test program prompt comes up, use option 1 to select an image, enter
"sat" when asked for the proj, and your filename for the image. Then
Run the im_drop option. This should pop up an xw window and display the image 
with
the appropriate bar. If this succeeds, then we know that this part is complete.
Use gpend to close down the xw.

Now, verify that Garp is clean with:

cd $GARPHOME
rm $NA_OS/garp
make all
make install


I also mean to say, that if you want to update all the other gempak programs to
display these products,

cd $GEMPAKHOME/source/programs
make clean
make all
make install
make clean

cd $NAWIPS/nprogs/nsat
make clean
make all
make install
make clean

Let me know if the testim test works, and if Garp still deos not see the product
as PROD instead of BRIT. The imcalib.f routine I provided will change the
BRIT to PROD, so if it is just showing up as BRIT, then it sounds like
the new routines are still not being used.

Steve Chiswell
Unidata User Suport




>From: "C. Vandersip" <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200007251705.e6PH56T10564

>Steve,
>
>Ok, I installed the patch files, but I'm still getting the standard BRIT
>colorbar.  From looking at $GARPHOME/gempak/colorbardraw.f, it appears
>that 
>
>IF ( cmcalb .eq. 'BRIT' .and. imtype .ne. 1 ) THEN
>
>is being satisfied as true, even though it's not supposed to be for these
>products (right?). Is there something else I should do? Any information I
>should provide you?  
>
>Thanks,
>
>Chris
>
>On Mon, 24 Jul 2000, Unidata Support wrote:
>
>> 
>> Chris,
>> 
>> I have a patch file in ~gbuddy/nawips-5.4/patches/sounder_prods.tar.Z
>> 
>> This includes gemlib/im updates, the $GEMTBL/sat/imgtyp.tbl file update
>> and $GARPHOME/gempak/colorbardraw.f update for garp.
>> 
>> To build and install, download the tarfile to $NAWIPS, then:
>> 
>> zcat sounder_prods.tar.Z | tar xvf -
>> cd $GEMPAKHOME/source/gemlib/im
>> make clean
>> make all
>> make clean
>> 
>> cd $GARPHOME
>> make all
>> make install
>> make clean
>> 
>> I still need to work on some reasonable color table defaults for these
>> products, but the scale is now correctly labled with units and scaled
>> values. I'll be looking in to whether I can get Garp to display the derived
>> units in the legend at the bottom in the next few days.
>> 
>> Let me know if you have questions or problems.
>>  
>> 
>> Steve Chiswell
>> Unidata User Support
>> 
>> 
>> 
>> 
>> >From: "C. Vandersip" <address@hidden>
>> >Organization: UCAR/Unidata
>> >Keywords: 200007220412.e6M4CIT20292
>> 
>> >Wow, I'm blown away!  I was counting on at least a few weeks.  Thanks for
>> >such quick response.  I'll look Monday.  Have a great weekend.
>> >
>> >Chris
>> >
>> >On Fri, 21 Jul 2000, Unidata Support wrote:
>> >
>> >> 
>> >> Chris,
>> >> 
>> >> I have come up wil a calibration module...which I now have to back port
>> >> from 5.5 to 5.4 so that you can install it. Look monday.
>> >> 
>> >> Steve Chiswell
>> >> Unidata User Support
>> >> 
>> >> 
>> >> 
>> >> 
>> >> 
>> >> >From: "C. Vandersip" <address@hidden>
>> >> >Organization: UCAR/Unidata
>> >> >Keywords: 200007211723.e6LHNET00140
>> >> 
>> >> >OK, thanks Steve.  I'll look out for the notice.
>> >> >
>> >> >Regards,
>> >> >
>> >> >Chris
>> >> >
>> >> >On Thu, 20 Jul 2000, Unidata Support wrote:
>> >> >
>> >> >> 
>> >> >> Chris,
>> >> >> 
>> >> >> GEMPAK does not currently process the CIMMS experimental product calib
> rat
>> > ion
>> >> >> curve for determining the color bar. That is something that will have 
> to 
>> > be 
>> >> > added.
>> >> >> Basically, the calibrartion will be unique for each experimental produ
> ct.
>> >> >> 
>> >> >> Steve Chiswell
>> >> >> 
>> >> >> 
>> >> >> >From: "C. Vandersip" <address@hidden>
>> >> >> >Organization: UCAR/Unidata
>> >> >> >Keywords: 200007202144.e6KLiaT16852
>> >> >> 
>> >> >> >Steve,
>> >> >> >
>> >> >> >A while back I sent you a question related to the new CIMSS images an
> d t
>> > he
>> >> >> >Garp colorbar.  I was wondering if one could get Garp to display the
>> >> >> >proper bar (scale and parameter) for the CAPE, LI, SST, etc. images. 
>  
>> >> >> >I've got the images displaying fine with Garp, but the colorbar is th
> e
>> >> >> >standard one hardcoded in imdrop.f. From your response to David's
>> >> >> >question, my guess is it's not possible now.  If so, will it be in th
> e
>> >> >> >future, or do I need to dive into McIDAS for this [aaaahhhh! :)]?
>> >> >> >
>> >> >> >Thanks,
>> >> >> >
>> >> >> >Chris
>> >> >> >
>> >> >> >On Tue, 18 Jul 2000, Steve Chiswell wrote:
>> >> >> >
>> >> >> >> 
>> >> >> >> David,
>> >> >> >> 
>> >> >> >> The $GEMPAKHOME/source/gemlib/im/im_drop.f routine hardcodes the 
>> >> >> >> call to im_cbar with color, location and orientation:
>> >> >> >> 
>> >> >> >> C*      Draw color bar
>> >> >> >> C
>> >> >> >>         CALL IM_CBAR ( '1/V/LL/0;.05/.90', idcols, ier )
>> >> >> >> 
>> >> >> >> The call can be commented out at compile time, but otherwise curren
> tly
>> >> >> >> is hardcoded to always display the bar.
>> >> >> >> 
>> >> >> >> Steve Chiswell
>> >> >> >> Unidata User Support
>> >> >> >> 
>> >> >> >> 
>> >> >> >> 
>> >> >> >> On Tue, 18 Jul 2000, David J. Knight wrote:
>> >> >> >> 
>> >> >> >> > 
>> >> >> >> > 
>> >> >> >> > > Have you tried  'CLRBAR = 0' ?
>> >> >> >> >  
>> >> >> >> > not an option in sfmap 
>> >> >> >> > 
>> >> >> >> > David
>> >> >> >> > 
>> >> >> >> 
>> >> >> >
>> >> >> >       ##############################################################
> #
>> >> >> >       #                      Chris Vandersip                        
> #
>> >> >> >       #        Computer Research Specialist/Dept. Sysadmin          
> #
>> >> >> >       #  Rm. 024, Dept. of Meteorology, Florida State University    
> #
>> >> >> >       #          address@hidden   (850)644-2522                     
> #
>> >> >> >       ##############################################################
> #
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> 
>> >> >> **********************************************************************
> ***
>> > ***
>> >> >> Unidata User Support                                    UCAR Unidata P
> rog
>> > ram
>> >> >> (303)497-8644                                                  P.O. Bo
> x 3
>> > 000
>> >> >> address@hidden                                   Boulder, CO
>  80
>> > 307
>> >> >> ----------------------------------------------------------------------
> ---
>> > ---
>> >> >> Unidata WWW Service                        http://www.unidata.ucar.edu
> /  
>> >    
>> >> >> **********************************************************************
> ***
>> > ***
>> >> >> 
>> >> >
>> >> >  ###############################################################
>> >> >  #                      Chris Vandersip                        #
>> >> >  #        Computer Research Specialist/Dept. Sysadmin          #
>> >> >  #  Rm. 024, Dept. of Meteorology, Florida State University    #
>> >> >  #          address@hidden   (850)644-2522                     #
>> >> >  ###############################################################
>> >> >
>> >> 
>> >> *************************************************************************
> ***
>> >> Unidata User Support                                    UCAR Unidata Prog
> ram
>> >> (303)497-8644                                                  P.O. Box 3
> 000
>> >> address@hidden                                   Boulder, CO 80
> 307
>> >> -------------------------------------------------------------------------
> ---
>> >> Unidata WWW Service                        http://www.unidata.ucar.edu/  
>    
>> >> *************************************************************************
> ***
>> >> 
>> >
>> >     ###############################################################
>> >     #                      Chris Vandersip                        #
>> >     #        Computer Research Specialist/Dept. Sysadmin          #
>> >     #  Rm. 024, Dept. of Meteorology, Florida State University    #
>> >     #          address@hidden   (850)644-2522                     #
>> >     ###############################################################
>> >
>> 
>> ****************************************************************************
>> Unidata User Support                                    UCAR Unidata Program
>> (303)497-8644                                                  P.O. Box 3000
>> address@hidden                                   Boulder, CO 80307
>> ----------------------------------------------------------------------------
>> Unidata WWW Service                        http://www.unidata.ucar.edu/     
>> ****************************************************************************
>> 
>
>        ###############################################################
>        #                      Chris Vandersip                        #
>        #        Computer Research Specialist/Dept. Sysadmin          #
>        #  Rm. 024, Dept. of Meteorology, Florida State University    #
>        #          address@hidden   (850)644-2522                     #
>        ###############################################################
>