将经纬度网格化 deg是分辨率,lat0和lon0对应整个网格区域左下角左边 deg=0.5; nlat=round(1+(lat-lat0)/deg); nlon=round(1+(lon-lon0)/deg);