Commit 03c27700 authored by François Agneray's avatar François Agneray
Browse files

Reorganize conf-dev files

parent 10441459
Pipeline #4992 passed with stages
in 2 minutes and 24 seconds
--
-- PostgreSQL database dump
--
-- Dumped from database version 10.14
-- Dumped by pg_dump version 10.14
-- Started on 2020-09-07 16:05:33 CEST
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;
SET default_tablespace = '';
SET default_with_oids = false;
--
-- TOC entry 219 (class 1259 OID 833027)
-- Name: aspic_gama_g02; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.aspic_gama_g02 (
cataid numeric NOT NULL,
ra numeric,
"dec" numeric,
z numeric,
fuv numeric,
err_fuv numeric,
nuv numeric,
err_nuv numeric,
mag_auto_u_1 numeric,
magerr_auto_u_1 numeric,
mag_auto_g_1 numeric,
magerr_auto_g_1 numeric,
mag_auto_r_1 numeric,
magerr_auto_r_1 numeric,
mag_auto_i_1 numeric,
magerr_auto_i_1 numeric,
mag_auto_z_1 numeric,
magerr_auto_z_1 numeric,
ks numeric,
err_ks numeric,
ywir numeric,
err_ywir numeric,
sig_hb numeric,
sig_hb_err numeric,
hb_flux numeric,
hb_flux_err numeric,
hb_ew numeric,
hb_ew_err numeric,
sig_hb_abs numeric,
sig_hb_abs_err numeric,
hb_abs_flux numeric,
hb_abs_flux_err numeric,
hb_abs_ew numeric,
hb_abs_ew_err numeric,
sig_hb_b numeric,
sig_hb_b_err numeric,
hb_b_flux numeric,
hb_b_flux_err numeric,
hb_b_ew numeric,
hb_b_ew_err numeric,
sig_oiiib numeric,
sig_oiiib_err numeric,
oiiib_flux numeric,
oiiib_flux_err numeric,
oiiib_ew numeric,
oiiib_ew_err numeric,
sig_oiiir numeric,
sig_oiiir_err numeric,
oiiir_flux numeric,
oiiir_flux_err numeric,
oiiir_ew numeric,
oiiir_ew_err numeric,
sig_ha numeric,
sig_ha_err numeric,
ha_flux numeric,
ha_flux_err numeric,
ha_ew numeric,
ha_ew_err numeric,
sig_ha_abs numeric,
sig_ha_abs_err numeric,
ha_abs_flux numeric,
ha_abs_flux_err numeric,
ha_abs_ew numeric,
ha_abs_ew_err numeric,
sig_ha_b numeric,
sig_ha_b_err numeric,
ha_b_flux numeric,
ha_b_flux_err numeric,
ha_b_ew numeric,
ha_b_ew_err numeric,
sig_niib numeric,
sig_niib_err numeric,
niib_flux numeric,
niib_flux_err numeric,
niib_ew numeric,
niib_ew_err numeric,
sig_niir numeric,
sig_niir_err numeric,
niir_flux numeric,
niir_flux_err numeric,
niir_ew numeric,
niir_ew_err numeric,
url character varying(255),
url_img character varying(255),
chi2_red numeric,
logmstar numeric,
logmstar_err numeric,
sfr numeric,
sfr_err numeric
);
ALTER TABLE public.aspic_gama_g02 OWNER TO anis;
--
-- TOC entry 5271 (class 0 OID 833027)
-- Dependencies: 219
-- Data for Name: aspic_gama_g02; Type: TABLE DATA; Schema: public; Owner: postgres
--
COPY public.aspic_gama_g02 (cataid, ra, "dec", z, fuv, err_fuv, nuv, err_nuv, mag_auto_u_1, magerr_auto_u_1, mag_auto_g_1, magerr_auto_g_1, mag_auto_r_1, magerr_auto_r_1, mag_auto_i_1, magerr_auto_i_1, mag_auto_z_1, magerr_auto_z_1, ks, err_ks, ywir, err_ywir, sig_hb, sig_hb_err, hb_flux, hb_flux_err, hb_ew, hb_ew_err, sig_hb_abs, sig_hb_abs_err, hb_abs_flux, hb_abs_flux_err, hb_abs_ew, hb_abs_ew_err, sig_hb_b, sig_hb_b_err, hb_b_flux, hb_b_flux_err, hb_b_ew, hb_b_ew_err, sig_oiiib, sig_oiiib_err, oiiib_flux, oiiib_flux_err, oiiib_ew, oiiib_ew_err, sig_oiiir, sig_oiiir_err, oiiir_flux, oiiir_flux_err, oiiir_ew, oiiir_ew_err, sig_ha, sig_ha_err, ha_flux, ha_flux_err, ha_ew, ha_ew_err, sig_ha_abs, sig_ha_abs_err, ha_abs_flux, ha_abs_flux_err, ha_abs_ew, ha_abs_ew_err, sig_ha_b, sig_ha_b_err, ha_b_flux, ha_b_flux_err, ha_b_ew, ha_b_ew_err, sig_niib, sig_niib_err, niib_flux, niib_flux_err, niib_ew, niib_ew_err, sig_niir, sig_niir_err, niir_flux, niir_flux_err, niir_ew, niir_ew_err, url, url_img, chi2_red, logmstar, logmstar_err, sfr, sfr_err) FROM stdin;
2343537 36.162575 -4.228418 0.06168 -9999.0 -9999.0 -9999.0 -9999.0 19.3666 0.000940856 18.237 0.000396547 17.6881 0.000350743 17.3413 0.000340303 17.1094 0.00044649 -9999.0 -9999.0 16.94440380240272 0.0057 1.41176 0.111765 147.386 15.0323 5.04562 0.51518 7.08086 1.11626 -131.987 32.5804 -4.51865 1.11562 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 1.12838 0.0 32.2545 5.484 1.1057 0.188069 1.1242 0.0 55.4157 6.92746 1.90095 0.23781 2.32382 0.0537263 568.051 18.5769 25.1713 0.828212 6.54805 4.09869 -34.8483 41.7552 -1.54417 1.85023 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 2.36541 0.0689657 60.1321 7.58228 2.66438 0.3361 2.36597 0.0689821 193.954 7.8292 8.5952 0.348353 GAMA_DR3/gama/G02_Y5_091_355.fit http://www.gama-survey.org/dr3/data/spectra/gama/reduced_27/1d/png/G02_Y5_091_355.png 1.4539229248865058 10.151737935278518 9.754073378451837 3.812972348882642 2.796305316790736
1788881 36.2402 -4.238301 0.06214 22.013 0.046 21.185 0.024 18.9691 0.000820007 17.5127 0.000300377 16.7448 0.000216459 16.3034 0.000199637 15.9684 0.000219477 -9999.0 -9999.0 15.71552093081774 0.0018 1.1242 0.0 27.4934 8.24876 0.609904 0.183013 13.8602 0.0 -132.68 29.8946 -2.94328 0.663321 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 14.2024 0.0 133.275 28.2246 2.95404 0.625769 14.2701 0.0 48.4965 40.5725 1.07446 0.898914 4.18545 0.198376 1233.9 58.4829 15.9545 0.757137 5.12256 0.402927 -758.023 63.5312 -9.80131 0.821794 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 3.69904 0.106143 158.032 13.8784 2.04347 0.179523 3.7053 0.106323 551.54 21.3258 7.13096 0.276244 GAMA_DR3/gama/G02_Y3_006_342.fit http://www.gama-survey.org/dr3/data/spectra/gama/reduced_27/1d/png/G02_Y3_006_342.png 2.423742496247961 10.719200986351614 9.844051813626809 0.3227338175704813 0.1882968476672116
1789890 36.164642 -4.169397 0.10402 21.099 0.019 20.57 0.0090 19.7118 0.00114264 18.4866 0.000443642 17.9292 0.000387229 17.5889 0.000358621 17.3518 0.000526344 -9999.0 -9999.0 17.21133146944058 0.0060 1.1242 0.0 61.5117 28.9882 2.36139 1.11303 14.4006 0.0 -155.853 35.3941 -5.98281 1.35972 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 4.08359 1.50003 42.666 22.4109 1.64055 0.861841 4.10064 1.50629 36.3019 20.8321 1.39694 0.801743 2.35482 0.11237 288.679 19.3187 15.914 1.07414 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 34.8762 29.6012 44.0998 55.9947 2.43116 3.08699 2.41524 0.22677 21.0494 5.68096 1.16033 0.313324 2.41606 0.226847 96.1154 11.5255 5.29893 0.637116 GAMA_DR3/gama/G02_Y5_082_307.fit http://www.gama-survey.org/dr3/data/spectra/gama/reduced_27/1d/png/G02_Y5_082_307.png 3.335582324322374 10.128526687623188 9.289252754179097 6.686186360539965 3.1495999263214616
1789752 36.238906 -4.178767 0.14214 24.433 0.09 23.325 0.036 21.4536 0.00341768 19.9475 0.000986789 18.9848 0.000697223 18.516 0.000635056 18.1256 0.000736899 -9999.0 -9999.0 17.972101907509405 0.0073 4.83655 1.59994 87.0773 30.8447 11.4031 4.04254 6.5627 1.51785 -136.05 31.4662 -17.8163 4.12853 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 0.188547 0.0 6.25742 3.56563 0.818834 0.466738 1.69427 0.0 21.0611 7.79787 2.75503 1.02081 1.69427 0.0 5.8101 14.1763 0.719916 1.75656 2.9023 1.60049 -16.9398 23.6796 -2.09897 2.93414 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 1.6978 0.0 6.87749 3.16906 0.852228 0.39276 1.69427 0.0 5.61988 3.627 0.696269 0.449401 GAMA_DR3/gama/G02_Y5_107_253.fit http://www.gama-survey.org/dr3/data/spectra/gama/reduced_27/1d/png/G02_Y5_107_253.png 2.7366502121691627 10.566711777977593 9.86247060179375 1.0252312851028487 0.7234934763087535
2343918 36.23596 -4.162365 0.20903 25.232 0.208 24.138 0.063 21.187 0.00256365 19.4706 0.00073707 18.3741 0.000500622 17.8907 0.000406513 17.5729 0.000465037 -9999.0 -9999.0 17.329550023916106 0.0053 2.32242 0.595639 110.37 30.7677 6.96279 1.94219 3.18771 0.738787 -130.54 30.2541 -8.23524 1.9103 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 3.46677 2.3946 16.1119 15.3957 1.01784 0.972644 3.4764 2.40125 9.79674 11.4037 0.61933 0.720946 3.25006 0.621923 68.9824 13.2003 4.54774 0.870809 5.90576 0.953347 -94.0574 21.9822 -6.20079 1.44982 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 1.6978 0.0 5.06234 6.95486 0.333787 0.458577 1.69427 0.0 7.35389 3.2333 0.48472 0.213144 GAMA_DR3/gama/G02_Y3_015_358.fit http://www.gama-survey.org/dr3/data/spectra/gama/reduced_27/1d/png/G02_Y3_015_358.png 7.946562803214832 11.200298707270198 10.204868318216658 0.2623157644277296 0.024662972298472533
1789978 36.188498 -4.163845 0.2382 21.843 0.026 21.436 0.016 20.843 0.00252416 19.6231 0.000975016 18.7542 0.000657986 18.3267 0.000676385 18.0685 0.000888444 -9999.0 -9999.0 17.98900897121927 0.012 2.70348 1.28974 18.1832 11.1789 1.55068 0.953446 16.2213 0.0 -34.144 19.3607 -2.91209 1.65145 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 3.11331 1.12027 1.3802 5.79481 0.118086 0.495788 3.12042 1.12283 21.6388 10.3983 1.8543 0.891217 2.01571 0.192584 59.3708 7.5598 5.20693 0.730907 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 85.099 50.3268 216.067 165.101 18.9487 14.5223 2.35072 0.314124 -0.13718 7.61249 -0.012033 0.667743 2.3512 0.314189 48.8707 8.50379 4.28497 0.787403 GAMA_DR3/gama/G02_Y5_091_312.fit http://www.gama-survey.org/dr3/data/spectra/gama/reduced_27/1d/png/G02_Y5_091_312.png 1.5134964811240368 10.880978356075236 10.394753502718462 8.658254262866398 9.355826258280498
1789814 36.222075 -4.171732 0.27638 23.824 0.055 22.524 0.019 21.5891 0.00347751 20.411 0.00122627 19.4441 0.000845147 18.9473 0.000780131 18.581 0.000997363 -9999.0 -9999.0 18.368605844398687 0.0117 1.69427 0.0 6.03775 2.86781 0.96617 0.459027 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 22.3077 0.0 0.0 0.0 0.0 0.0 5.76941 4.49953 7.68786 8.72721 1.23896 1.40652 5.79297 4.51791 5.1736 6.84411 0.836871 1.10713 3.91728 0.31932 75.3841 7.63963 14.972 1.52967 9.40083 0.0 0.0 0.0 0.0 0.0 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 5.04162 1.18783 12.7539 5.77813 2.53099 1.14713 5.0525 1.19039 32.4315 9.31753 6.44979 1.85492 GAMA_DR3/gama/G02_Y5_082_288.fit http://www.gama-survey.org/dr3/data/spectra/gama/reduced_27/1d/png/G02_Y5_082_288.png 3.942253332189462 10.635353159390663 9.959294869634306 12.656123194170437 8.145555138244266
1789368 36.212655 -4.201258 0.31794 25.779 0.271 26.487 0.499 23.0003 0.0119241 20.9599 0.00181921 19.5002 0.000872459 18.9268 0.000758253 18.5524 0.00097919 -9999.0 -9999.0 -9999.0 -9999.0 2.10515 1.02689 28.2604 14.6208 4.15731 2.1513 2.64591 0.985327 -40.2973 15.0066 -5.92796 2.20849 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 1.70056 0.0 9.80333 3.42828 1.44914 0.507016 1.69427 0.0 3.48478 3.13491 0.51633 0.464524 1.69427 0.0 0.0 0.0 0.0 0.0 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 -99999.0 93.5518 29.4085 371.139 144.593 76.7778 31.1664 14.6085 0.0 -36.0865 0.0 -7.40321 0.83699 14.647 0.0 -3.89569 15.4525 -0.811634 3.22075 GAMA_DR3/gama/G02_Y5_107_260.fit http://www.gama-survey.org/dr3/data/spectra/gama/reduced_27/1d/png/G02_Y5_107_260.png 9.361356389985998 11.940832177404799 11.26610197295118 1.2797054854546384 0.27930087622824185
\.
--
-- TOC entry 5084 (class 2606 OID 840720)
-- Name: aspic_gama_g02 aspic_gama_g02_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--
--
-- ALTER TABLE ONLY public.aspic_gama_g02
-- ADD CONSTRAINT aspic_gama_g02_pkey PRIMARY KEY (cataid);
--
-- TOC entry 5277 (class 0 OID 0)
-- Dependencies: 219
-- Name: TABLE aspic_gama_g02; Type: ACL; Schema: public; Owner: postgres
--
-- GRANT SELECT ON TABLE public.aspic_gama_g02 TO consult;
-- Completed on 2020-09-07 16:05:33 CEST
--
-- PostgreSQL database dump complete
--
This diff is collapsed.
......@@ -10,9 +10,4 @@ psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-E
GRANT ALL PRIVILEGES ON DATABASE anis_metamodel TO anis;
GRANT ALL PRIVILEGES ON DATABASE anis_test TO anis;
EOSQL
psql -v ON_ERROR_STOP=1 -f /sql/obs_cat.sql --username "anis" --dbname "anis_test"
psql -v ON_ERROR_STOP=1 -f /sql/observations_info.sql --username "anis" --dbname "anis_test"
psql -v ON_ERROR_STOP=1 -f /sql/svom_sdb_dc1.sql --username "anis" --dbname "anis_test"
psql -v ON_ERROR_STOP=1 -f /sql/irisdb.sql --username "anis" --dbname "anis_test"
psql -v ON_ERROR_STOP=1 -f /sql/aspic_vipers_dr2_w1.sql --username "anis" --dbname "anis_test"
psql -v ON_ERROR_STOP=1 -f /sql/aspic_gama_g02.sql --username "anis" --dbname "anis_test"
psql -v ON_ERROR_STOP=1 -f /sql/data_test.sql --username "anis" --dbname "anis_test"
--
-- PostgreSQL database dump
--
-- Dumped from database version 10.8
-- Dumped by pg_dump version 10.8
-- Started on 2019-11-28 14:51:27 UTC
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'SQL_ASCII';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;
SET default_tablespace = '';
SET default_with_oids = false;
--
-- TOC entry 196 (class 1259 OID 17352)
-- Name: calibpack; Type: TABLE; Schema: public; Owner: anis
--
CREATE TABLE public.calibpack (
id integer NOT NULL,
date date NOT NULL,
pack character varying(255) NOT NULL,
readme character varying(255) NOT NULL
);
ALTER TABLE public.calibpack OWNER TO anis;
--
-- TOC entry 197 (class 1259 OID 17355)
-- Name: observation; Type: TABLE; Schema: public; Owner: anis
--
CREATE TABLE public.observation (
id integer NOT NULL,
ra double precision NOT NULL,
"dec" double precision NOT NULL,
date_time timestamp without time zone NOT NULL,
exposure_time integer NOT NULL,
filter character varying(255),
object_name character varying(255),
fits_file character varying(255),
id_obspack integer NOT NULL
);
ALTER TABLE public.observation OWNER TO anis;
--
-- TOC entry 198 (class 1259 OID 17358)
-- Name: obspack; Type: TABLE; Schema: public; Owner: anis
--
CREATE TABLE public.obspack (
id integer NOT NULL,
date date NOT NULL,
observer character varying(255) NOT NULL,
pack character varying(255) NOT NULL,
readme character varying(255) NOT NULL,
id_calib integer NOT NULL
);
ALTER TABLE public.obspack OWNER TO anis;
--
-- TOC entry 199 (class 1259 OID 17361)
-- Name: anis_observation; Type: VIEW; Schema: public; Owner: anis
--
CREATE VIEW public.anis_observation AS
SELECT observation.id,
observation.ra,
observation."dec",
observation.date_time,
observation.exposure_time,
observation.filter,
observation.object_name,
('http://iris.lam.fr/observations/'::text || (observation.fits_file)::text) AS fits_file,
observation.fits_file AS png_file,
obspack.observer,
('http://iris.lam.fr/observations/'::text || (obspack.pack)::text) AS pack_obs,
('http://iris.lam.fr/observations/'::text || (obspack.readme)::text) AS readme_obs,
('http://iris.lam.fr/observations/'::text || (calibpack.pack)::text) AS pack_calib,
('http://iris.lam.fr/observations/'::text || (calibpack.readme)::text) AS readme_calib
FROM ((public.observation
JOIN public.obspack ON ((observation.id_obspack = obspack.id)))
JOIN public.calibpack ON ((obspack.id_calib = calibpack.id)));
ALTER TABLE public.anis_observation OWNER TO anis;
--
-- TOC entry 200 (class 1259 OID 17366)
-- Name: calibpack_id_seq; Type: SEQUENCE; Schema: public; Owner: anis
--
CREATE SEQUENCE public.calibpack_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE public.calibpack_id_seq OWNER TO anis;
--
-- TOC entry 3709 (class 0 OID 0)
-- Dependencies: 200
-- Name: calibpack_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: anis
--
ALTER SEQUENCE public.calibpack_id_seq OWNED BY public.calibpack.id;
--
-- TOC entry 201 (class 1259 OID 17368)
-- Name: observation_id_seq; Type: SEQUENCE; Schema: public; Owner: anis
--
CREATE SEQUENCE public.observation_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE public.observation_id_seq OWNER TO anis;
--
-- TOC entry 3710 (class 0 OID 0)
-- Dependencies: 201
-- Name: observation_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: anis
--
ALTER SEQUENCE public.observation_id_seq OWNED BY public.observation.id;
--
-- TOC entry 202 (class 1259 OID 17370)
-- Name: obspack_id_seq; Type: SEQUENCE; Schema: public; Owner: anis
--
CREATE SEQUENCE public.obspack_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE public.obspack_id_seq OWNER TO anis;
--
-- TOC entry 3711 (class 0 OID 0)
-- Dependencies: 202
-- Name: obspack_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: anis
--
ALTER SEQUENCE public.obspack_id_seq OWNED BY public.obspack.id;
--
-- TOC entry 203 (class 1259 OID 17372)
-- Name: v_obspack; Type: VIEW; Schema: public; Owner: anis
--
CREATE VIEW public.v_obspack AS
SELECT obspack.id,
obspack.date,
obspack.observer,
('http://iris.lam.fr/observations/'::text || (obspack.pack)::text) AS pack_obs,
('http://iris.lam.fr/observations/'::text || (obspack.readme)::text) AS readme_obs,
('http://iris.lam.fr/observations/'::text || (calibpack.pack)::text) AS pack_calib,
('http://iris.lam.fr/observations/'::text || (calibpack.readme)::text) AS readme_calib
FROM (public.obspack
JOIN public.calibpack ON ((obspack.id_calib = calibpack.id)));
ALTER TABLE public.v_obspack OWNER TO anis;
--
-- TOC entry 3559 (class 2604 OID 17376)
-- Name: calibpack id; Type: DEFAULT; Schema: public; Owner: anis
--
ALTER TABLE ONLY public.calibpack ALTER COLUMN id SET DEFAULT nextval('public.calibpack_id_seq'::regclass);
--
-- TOC entry 3560 (class 2604 OID 17377)
-- Name: observation id; Type: DEFAULT; Schema: public; Owner: anis
--
ALTER TABLE ONLY public.observation ALTER COLUMN id SET DEFAULT nextval('public.observation_id_seq'::regclass);
--
-- TOC entry 3561 (class 2604 OID 17378)
-- Name: obspack id; Type: DEFAULT; Schema: public; Owner: anis
--
ALTER TABLE ONLY public.obspack ALTER COLUMN id SET DEFAULT nextval('public.obspack_id_seq'::regclass);
--
-- TOC entry 3693 (class 0 OID 17352)
-- Dependencies: 196
-- Data for Name: calibpack; Type: TABLE DATA; Schema: public; Owner: anis
--
COPY public.calibpack (id, date, pack, readme) FROM stdin;
73 2014-09-28 20140928-calib.zip 20140928-calib.txt
\.
--
-- TOC entry 3694 (class 0 OID 17355)
-- Dependencies: 197
-- Data for Name: observation; Type: TABLE DATA; Schema: public; Owner: anis
--
COPY public.observation (id, ra, "dec", date_time, exposure_time, filter, object_name, fits_file, id_obspack) FROM stdin;
418 148.900499999999994 69.0669999999999931 2014-10-02 20:13:50 10 SDSS g M 81 20141002/M_81-S001-R001-C001-SDSS_g.fits 86
419 322.5 12.1669999999999998 2014-10-02 20:31:45 10 SDSS g M 15 20141002/M_15-S001-R001-C001-SDSS_g.fits 86
420 322.5 12.1669999999999998 2014-10-02 20:40:42 10 SDSS g M 15 20141002/M_15-S001-R001-C001-SDSS_g_dupe-1.fits 86
421 322.5 12.1669999999999998 2014-10-02 21:36:38 60 SDSS g M 15 20141002/M_15-S001-R001-C001-SDSS_g_dupe-5.fits 86
422 323.0505 48.4329999999999998 2014-10-02 21:25:08 10 SDSS g M 15 20141002/M_15-S001-R001-C001-SDSS_g_dupe-4.fits 86
423 322.5 12.1669999999999998 2014-10-02 20:45:13 10 SDSS g M 15 20141002/M_15-S001-R001-C001-SDSS_g_dupe-2.fits 86
424 323.0505 48.4329999999999998 2014-10-02 21:03:56 10 SDSS g M 39 20141002/M_39-S001-R001-C001-SDSS_g.fits 86
425 10.6754999999999995 41.267000000000003 2014-10-02 20:19:57 10 SDSS g M 31 20141002/M_31-S001-R001-C001-SDSS_g.fits 86
426 322.5 12.1669999999999998 2014-10-02 20:59:09 10 SDSS g M 15 20141002/M_15-S001-R001-C001-SDSS_g_dupe-3.fits 86
427 299.899499999999989 22.7169999999999987 2014-10-03 19:18:25 60 Halpha M 27 20141003/M_27-S001-R001-C001-Halpha.fits 87
\.
--
-- TOC entry 3695 (class 0 OID 17358)
-- Dependencies: 198
-- Data for Name: obspack; Type: TABLE DATA; Schema: public; Owner: anis
--
COPY public.obspack (id, date, observer, pack, readme, id_calib) FROM stdin;
86 2014-10-02 ecole1 20141002.zip 20141002.txt 73
87 2014-10-03 ecole1 20141003.zip 20141003.txt 73
\.
--
-- TOC entry 3713 (class 0 OID 0)
-- Dependencies: 200
-- Name: calibpack_id_seq; Type: SEQUENCE SET; Schema: public; Owner: anis
--
SELECT pg_catalog.setval('public.calibpack_id_seq', 194, true);
--
-- TOC entry 3714 (class 0 OID 0)
-- Dependencies: 201
-- Name: observation_id_seq; Type: SEQUENCE SET; Schema: public; Owner: anis
--
SELECT pg_catalog.setval('public.observation_id_seq', 27386, true);
--
-- TOC entry 3715 (class 0 OID 0)
-- Dependencies: 202
-- Name: obspack_id_seq; Type: SEQUENCE SET; Schema: public; Owner: anis
--
SELECT pg_catalog.setval('public.obspack_id_seq', 395, true);
--
-- TOC entry 3563 (class 2606 OID 17380)
-- Name: calibpack pk_calibpack; Type: CONSTRAINT; Schema: public; Owner: anis
--
ALTER TABLE ONLY public.calibpack
ADD CONSTRAINT pk_calibpack PRIMARY KEY (id);
--
-- TOC entry 3565 (class 2606 OID 17382)
-- Name: observation pk_observation; Type: CONSTRAINT; Schema: public; Owner: anis
--
ALTER TABLE ONLY public.observation
ADD CONSTRAINT pk_observation PRIMARY KEY (id);
--
-- TOC entry 3567 (class 2606 OID 17384)
-- Name: obspack pk_obspack; Type: CONSTRAINT; Schema: public; Owner: anis
--
ALTER TABLE ONLY public.obspack
ADD CONSTRAINT pk_obspack PRIMARY KEY (id);
--
-- TOC entry 3569 (class 2606 OID 17385)
-- Name: obspack fk_calibpack; Type: FK CONSTRAINT; Schema: public; Owner: anis
--
ALTER TABLE ONLY public.obspack
ADD CONSTRAINT fk_calibpack FOREIGN KEY (id_calib) REFERENCES public.calibpack(id);
--
-- TOC entry 3568 (class 2606 OID 17390)
-- Name: observation fk_obspack; Type: FK CONSTRAINT; Schema: public; Owner: anis
--
ALTER TABLE ONLY public.observation
ADD CONSTRAINT fk_obspack FOREIGN KEY (id_obspack) REFERENCES public.obspack(id);
-- Completed on 2019-11-28 14:51:27 UTC
--
-- PostgreSQL database dump complete
--
http://www.mocodo.net/
DF3, 0N criteria_family, 01 attribute
criteria_family: id, label, display, dataset_name
:
output_family: id, label, display, dataset_name
:
attribute: id, name, table_name, label, form_label, description, output_display, criteria_display, search_flag, search_type, operator, type, min, max, placeholder_min, placeholder_max, renderer, renderer_config, display_detail, selected, order_by, order_display, detail, renderer_detail, options, vo_utype, vo_ucd, vo_unit, vo_description, vo_datatype, vo_size
DF9, 0N output_category, 01 attribute
output_category: id, label, display
DF8, 11 output_category, 0N output_family
instance: name, label, clientUrl, config
DF4, 0N dataset, 11 attribute
dataset: name, table_ref, label, description, display, count, vo, data_path, config, public
DF2, ON dataset_family, 11 dataset
dataset_family: id, label, display
DF5, 0N instance, 11 dataset_family
group: id, role, instance_name
groups_datasets, 0N group, 0N dataset
DF1, 0N project, 11 dataset
project: name, label, description, link, manager
DF, 0N database, 11 project
database: id, label, dbname, type, host, port, login, password
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
../anis-data
\ No newline at end of file
......@@ -19,7 +19,7 @@ services:
LOGGER_PATH: "php://stderr"
LOGGER_LEVEL: "debug"
TOKEN_ENABLED: 0
TOKEN_PUBLIC_KEY_FILE: /data/public_key
TOKEN_PUBLIC_KEY_FILE: /project/conf-dev/public_key
TOKEN_ADMIN_ROLE: anis_admin
ports: