Skip to content

astronomy-commons/lsdb-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lsdb-server

codecov


A lightweight, fast and easy to use server for the lsdb server test branch.


Configuring the server

lsdb-server works with lsdb server test branch if you have the hips partitioned catalogs in your server.

Generate the hips using hipscat-import.


Running the server

To run the server from source, install rust and run:

cargo run --release

Point nginx to the directory containing the hips and just point requests with args to the server.

server {
    listen 80;

    ...
    location /hips {
        # folder or parent folder containing the HiPSCat
        alias /path/to/hips;

        if ($args) {
            # This is the lsdb_server ip
            proxy_pass http://localhost:5000; 
        }
    }
    ...
}

Parameters

  • columns : The columns to return in the response. Default is all columns. Default is all columns.
  • filters: A list of filters to apply ["r_auto < 18", ...]. Default is no filters.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages