awips2/ncep/gov.noaa.nws.ncep.viz.tools/AODTLIB/odtwarmeyetemp.c
root 9f19e3f712 Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: 64fa9254b946eae7e61bbc3f513b7c3696c4f54f
2012-01-06 08:55:05 -06:00

23 lines
701 B
C

/* include file containing all AODT library global variables */
#include "../inc/odtlib.h"
/* include file containing all AODT library variable definitions */
#include "../inc/odtlibdefs-x.h"
/* AODT library function */
extern int aodtv64_gettemps(int);
int aodtv64_getwarmeyetemplocation(float *lat, float *lon)
/* Routine to search for warmest pixel temperature within search radius
and return location to API.
Inputs : none
Outputs: warmest pixel location from automated storm positioning routine
Return : 91 : good warmest pixel latitude/longitude
*/
{
aodtv64_gettemps(keyerA_v64);
*lat=odtcurrent_v64->IR.warmlatitude;
*lon=odtcurrent_v64->IR.warmlongitude;
return 91;
}