transbigdata.GPS_to_grid

transbigdata.GPS_to_grid(lon, lat, params)

Match the GPS data to the grids. The input is the columns of longitude, latitude, and the grids parameter. The output is the grid ID.

Parameters:
Returns:

  • Rectangle grids

  • [LONCOL,LATCOL] (list) – The two columns LONCOL and LATCOL together can specify a grid.

  • Triangle and Hexagon grids

  • [loncol_1,loncol_2,loncol_3] (list) – The index of the grid latitude. The two columns LONCOL and LATCOL together can specify a grid.