def map_polar2cart(LAT, LON, hemi='N'):
    (X_map, Y_map) = satplottools.latlon2cart(LAT.flatten(), LON.flatten(), hemi)
    return (X_map, Y_map)
def map_polar2cart(LAT, LON, hemi='N'):
    (X_map, Y_map) = satplottools.latlon2cart(LAT.flatten(), LON.flatten(), hemi)
    return (X_map, Y_map)