Former-commit-id:9f19e3f712
[formerly9f19e3f712
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]] Former-commit-id:06a8b51d6d
Former-commit-id:3360eb6c5f
31 lines
913 B
C
31 lines
913 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_automode2(float,float,float *,float *,int *);
|
|
|
|
int aodtv64_runautomode2(float flat,float flon,float *lat, float *lon,int *pos)
|
|
/* Subroutine to run final AUTO-AODT routine. This routine will
|
|
return the "best" determined position to API for the storm center.
|
|
Inputs : forecast latitude and longitude
|
|
Outputs: location : latitude and longitude
|
|
positioning method : 1 - interpoation
|
|
2 - laplacian
|
|
3 - warm spot
|
|
4 - extrapolation
|
|
0 - error
|
|
Return : 51 : good position
|
|
*/
|
|
{
|
|
int xpos;
|
|
float xlat,xlon;
|
|
|
|
aodtv64_automode2(flat,flon,&xlat,&xlon,&xpos);
|
|
*lat=xlat;
|
|
*lon=xlon;
|
|
*pos=xpos;
|
|
|
|
return 51;
|
|
}
|