LSDB Server

server.lsdb.data.io

Introduction

An instance of the server code from astronomy-commons/lsdb-server. Interprets columns= and filters= arguments from LSDB on the server side so that the filtered-out data is not returned over the link. Useful when accessing catalogs from data.lsdb.io over a slow link.

To use it, simply change data.lsdb.io to server.data.lsdb.io in your lsdb.open_catalog calls.

Examples

Filtering Gaia DR3, only rows with phot_g_mean_mag less than 20, only columns ra, dec, phot_g_mean_mag.
gaia3 = lsdb.read_hats('https://server.data.lsdb.io/hats/gaia_dr3/gaia', filters=[['phot_g_mean_mag', '<', 20]], columns=['ra','dec','phot_g_mean_mag'])