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

[McIDAS #JGN-249914]: IMGMAKE



Hi Mike,

re:
> I just ran into a weird problem and was hoping I could get you to take
> a look at it.
> 
> At 15Z today, Mesoscale-1 was moved back to (I believe) its default
> position.  Since then, I've been having trouble plotting it in mcidas.
> For example:
> 
> imgdisp.k NPGOESRL/MESO1C02 1 MAG=-2 LAT=39.1 75.0
> imgdisp.k: The portion of the image requested does not exist
> imgdisp.k: done
> 
> Those coordinates are coming from the file name, that should be the
> center point.  A quick 'ncdump -h' of the data file confirms that.
> Now for the weird one, zoom out for perspective:
> 
> IMGDISP NPGOESRL/MESO1C02 MAG=-8
> MAP LALO 14; MAP L 14
> I'm attaching the image this makes.  At a glance, it looks like lat &
> lon are swapped.  The metadata in the netcdf file seems right, so I'm
> not sure what to make of it.  Mesoscale-2 works just fine.  Any
> thoughts?

I think that I have found the problem, and it is the omission of a single
'=' sign!

Do the following:

<as 'mcidas'>

cd ~mcidas/mcidas2017/src

-- edit scmiutil.c

   On line 1974 change:

        if ( diff_lon < 0 ) {                   /* grid origin east of lon_s  */


   to:

        if ( diff_lon <= 0 ) {                   /* grid origin east of lon_s  
*/

   exit out of your editor saving changes

make libsdi.a scmiadir scmiaget && rm ~/bin/scmia* && ln scmiadir scmiaget ~/bin

I have made the change to scmiutil.c on lead.unidata.ucar.edu, and
the change will be in the v2017b release after I have included SSEC's
v2017.2 XCD mods.

Please let me know your results!

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: JGN-249914
Department: Support McIDAS
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.