ztf-viewer

ZTF data releases light curve viewer

https://github.com/snad-space/ztf-viewer

Science Score: 57.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.6%) to scientific vocabulary

Keywords from Contributors

mesh energy-system-model distributed particles data-profilers datacleaner pipeline-testing yolov5s climate-model medical-imaging
Last synced: 6 months ago · JSON representation ·

Repository

ZTF data releases light curve viewer

Basic Info
  • Host: GitHub
  • Owner: snad-space
  • License: mit
  • Language: Python
  • Default Branch: master
  • Homepage: http://ztf.snad.space
  • Size: 1.01 MB
Statistics
  • Stars: 14
  • Watchers: 3
  • Forks: 3
  • Open Issues: 58
  • Releases: 0
Created over 6 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog License Citation

README.md

SNAD ZTF DR web viewer

https://ztf.snad.space

This projects contains a source of ZTF Data Releases light curve viewer developed by the SNAD team.

Please use the GitHub issue tracker for suggestions and bug reports. If the Portal is unavailable or some functionality doesn’t work, please check the status page. If it’s red, we are already aware of the problem; if not, please report it to us!

Evaluation

Both production and development versions can be started via Docker compose using docker-compose.yml and docker-compose.dev.yml correspondingly. Current production configuration assumes that there is a Docker proxy network shared with jwilder/nginx-proxy which proxies the webserver to the outer world. Also, this configuration requires secret.env file containing secret environment variables, such as API keys.

Environment variables

Environment variables to configure the server, see default values in config.py: - CACHE_TYPE: cache type, specify redis to use redis server, or memory to use in-process cache - UNAVAILABLE_CATALOGS_CACHE_TYPE: unavailable catalog cache type, specify redis to use redis server, or memory to use in-process cache - REDIS_URL: redis server address - LC_API_URL: SNAD ZTF database API address - AKB_API_URL: knowledge database address - FEATURES_API_URL: feature extraction service address - OGLE_III_API_URL: SNAD OGLE III mirror address - ZTF_PERIODIC_API_URL: SNAD mirror of the ZTF periodic variables catalog - TNS_API_URL: SNAD mirror of the TNS - ZTF_FITS_PROXY_URL: address of SNAD proxy for ZTF FITS - JS9_URL: address of full-functional JS9 viewer supporting JS9.LoadProxy

Running development docker-compose

You could run a development version of the server at http://127.0.0.1:8050 using docker-compose.dev.yml file:

sh docker compose -f docker-compose.yml -f docker-compose.dev.yml up --build

This will run Dash/Flask server in debug mode and will reload the server on code changes if you mount the source code directory ztf_viewer as a volume:

sh docker compose -f docker-compose.yml -f docker-compose.dev.yml -f docker-compose.dev.local.yml up --build

Running without docker

The server can be run locally without Docker in debug mode.

```sh

Configure Python virtual environment

python3 -m venv ~/.virtualenv/ztf-viewer source ~/.virtualenv/ztf-viewer/bin/activate

Install the package

python -m pip install -e .

Run webserver

CACHETYPE="memory" UNAVAILABLECATALOGSCACHETYPE="memory" python -m ztf_viewer ```

Go to the url specified in the command line output, it should be something like http://localhost:8050/ Some features like FITS viewer wouldn't work.

Web-services used by the viewer

Citation

Please cite our paper as well as papers describing the data you accessed through the Viewer

bibtex @ARTICLE{2023PASP..135b4503M, author = {{Malanchev}, Konstantin and {Kornilov}, Matwey V. and {Pruzhinskaya}, Maria V. and {Ishida}, Emille E.~O. and {Aleo}, Patrick D. and {Korolev}, Vladimir S. and {Lavrukhina}, Anastasia and {Russeil}, Etienne and {Sreejith}, Sreevarsha and {Volnova}, Alina A. and {Voloshina}, Anastasiya and {Krone-Martins}, Alberto}, title = "{The SNAD Viewer: Everything You Want to Know about Your Favorite ZTF Object}", journal = {\pasp}, keywords = {Variable stars, Astronomy software, Open source software, Publicly available software, Astronomy web services, 1761, 1855, 1866, 1864, 1856, Astrophysics - Instrumentation and Methods for Astrophysics}, year = 2023, month = feb, volume = {135}, number = {1044}, eid = {024503}, pages = {024503}, doi = {10.1088/1538-3873/acb292}, archivePrefix = {arXiv}, eprint = {2211.07605}, primaryClass = {astro-ph.IM}, adsurl = {https://ui.adsabs.harvard.edu/abs/2023PASP..135b4503M}, adsnote = {Provided by the SAO/NASA Astrophysics Data System} }

Owner

  • Name: SNAD
  • Login: snad-space
  • Kind: organization

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: SNAD ZTF DR web viewer
message: >-
  If you use this software, please cite it using the
  metadata from this file.
type: software
authors:
  - given-names: Konstantin
    family-names: Malanchev
    email: hombit@gmail.com
    orcid: 'https://orcid.org/0000-0001-7179-7406'
identifiers:
  - type: doi
    value: 10.1088/1538-3873/acb292
    description: PASP publication
  - type: url
    value: 'http://arxiv.org/abs/2211.07605'
    description: arXiv pre-pritn
repository-code: 'https://github.com/snad-space/ztf-viewer'
url: 'https://ztf.snad.space'
license: MIT

GitHub Events

Total
  • Issues event: 6
  • Delete event: 34
  • Issue comment event: 18
  • Push event: 112
  • Pull request review event: 3
  • Pull request event: 119
  • Fork event: 1
  • Create event: 54
Last Year
  • Issues event: 6
  • Delete event: 34
  • Issue comment event: 18
  • Push event: 112
  • Pull request review event: 3
  • Pull request event: 119
  • Fork event: 1
  • Create event: 54

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 670
  • Total Committers: 8
  • Avg Commits per committer: 83.75
  • Development Distribution Score (DDS): 0.285
Past Year
  • Commits: 107
  • Committers: 6
  • Avg Commits per committer: 17.833
  • Development Distribution Score (DDS): 0.505
Top Committers
Name Email Commits
Konstantin Malanchev h****t@g****m 479
dependabot[bot] 4****] 134
pre-commit-ci[bot] 6****] 42
GaneevRizvan 1****n 4
stlavrukhina l****d@g****m 4
Maria Pruzhinskaya p****a@g****m 3
JulienPeloton p****n@l****r 2
Emille Ishida e****a 2
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 9
  • Total pull requests: 150
  • Average time to close issues: 8 months
  • Average time to close pull requests: 22 days
  • Total issue authors: 3
  • Total pull request authors: 7
  • Average comments per issue: 0.22
  • Average comments per pull request: 0.17
  • Merged pull requests: 109
  • Bot issues: 0
  • Bot pull requests: 107
Past Year
  • Issues: 6
  • Pull requests: 128
  • Average time to close issues: about 1 hour
  • Average time to close pull requests: 18 days
  • Issue authors: 3
  • Pull request authors: 7
  • Average comments per issue: 0.17
  • Average comments per pull request: 0.15
  • Merged pull requests: 89
  • Bot issues: 0
  • Bot pull requests: 88
Top Authors
Issue Authors
  • hombit (6)
  • pruzhinskaya (5)
  • emilleishida (2)
  • AIofHuman (1)
  • alinusss (1)
Pull Request Authors
  • dependabot[bot] (142)
  • hombit (41)
  • pre-commit-ci[bot] (32)
  • emilleishida (2)
  • JulienPeloton (2)
  • pruzhinskaya (2)
  • GaneevRizvan (2)
Top Labels
Issue Labels
enhancement (4) good first issue (2)
Pull Request Labels
dependencies (142) python (140) github_actions (2)

Dependencies

proxy-cache-filler/requirements.txt pypi
  • requests *
requirements.txt pypi
  • Flask ==2.1.1
  • Jinja2 ==3.1.2
  • astropy ==4.3.1
  • astroquery ==0.4.6
  • cachetools ==5.0.0
  • dash ==2.3.1
  • dash_dangerously_set_inner_html ==0.0.2
  • dash_defer_js_import ==0.0.2
  • dustmaps ==1.0.9
  • immutabledict ==2.2.1
  • matplotlib ==3.5.1
  • numpy ==1.22.3
  • pandas ==1.4.2
  • plotly ==5.7.0
  • redis ==4.2.2
  • redis_lru ==0.1.2
  • requests ==2.27.1
  • setuptools ==62.1.0
.github/workflows/codeql-analysis.yml actions
  • actions/checkout v3 composite
  • github/codeql-action/analyze v2 composite
  • github/codeql-action/autobuild v2 composite
  • github/codeql-action/init v2 composite
.github/workflows/deploy-dev.yml actions
  • actions/checkout v3 composite
.github/workflows/test.yml actions
  • actions/checkout v3 composite
Dockerfile docker
  • python 3.10-bullseye build
docker-compose.dev.yml docker
  • redis latest
docker-compose.yml docker
  • redis latest
proxy/Dockerfile docker
  • nginx alpine build
proxy-cache-filler/Dockerfile docker
  • python 3.8-buster build
pyproject.toml pypi
  • alerce *
  • antares-client >=1.2.0
  • astropy *
  • astroquery *
  • cachetools *
  • dash >=2.3.1
  • dash-dangerously-set-inner-html *
  • dash_defer_js_import *
  • dustmaps >=1.0.10
  • flask *
  • immutabledict *
  • ipywidgets >=7.0.0
  • jinja2 *
  • matplotlib >=3.3
  • numpy *
  • orjson *
  • pandas *
  • redis *
  • redis-lru *
  • requests *
  • scipy *
docker-compose.dev.local.yml docker
setup.py pypi