-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added psycopg2 library for integration with postgresql. Added a dump with an example of a catalog to be used as a test. DBBase class changes started. #1225 * connection to postgresql established using SqlAlchemy #1225 * It is now possible to make a query in the catalog database using Postgresql but it is not yet using q3c. initial product class data has also been updated. #1225 * Methods were created to read the attributes of the tables, such as number of rows, columns and size in bytes. exclusive userquery methods for creating tables were created. Added log for userquery #1225 * Improvements in installation documentation for development. #1225 * Minor fix in instalation.md #1225 * The error in importing targets in csv format was fixed, the error was caused by the use of Schemas in Postgresql. an error in the Targets query was also fixed. Postgresql does not accept comparison between columns of different types, in this case the object_id columns, to solve the problem, Cast was made in the column type at the time of joining with other tables. #1225 * A prototype was created to overlay the xray contours. * The Userquery tool is now integrated with Postgresql. * Explorer fix for coadd objects. * Fixed an error in the number of lines inserted in a target upload. * Fixed error in the number of catalog columns in the list of Targets. * Foi feita a modicação que permite o target viewer importar tabelas de outros databases, antes era fixo ao database dessci. * The .env configuration file was removed now all confs are in local_vars.py * Added sample sql for coadd and galaxy cluster tables * Changes in Jenkins pipeline for push a new image with latest tag.
- Loading branch information
1 parent
023a233
commit cdb3501
Showing
48 changed files
with
32,404 additions
and
26,128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"products": [{ | ||
"display_name": "Y3A2 Coadd", | ||
"fields": [], | ||
"releases": ["y3a2_coadd"], | ||
"table": "coadd_objects", | ||
"schema": "y3a2_coadd", | ||
"database": "catalog", | ||
"type": "catalog", | ||
"class": "coadd_objects", | ||
"name": "y3a2_coadd", | ||
"association": [{ | ||
"ucd": "meta.id;meta.main", | ||
"property": "coadd_object_id" | ||
}, | ||
{ | ||
"ucd": "pos.eq.ra;meta.main", | ||
"property": "ra" | ||
}, | ||
{ | ||
"ucd": "pos.eq.dec;meta.main", | ||
"property": "dec" | ||
} | ||
] | ||
}], | ||
"ticket":"UKW628", | ||
"register_username": "gverde" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
{ | ||
"process": { | ||
"owner_username": "gverde", | ||
"process_name": "wazp", | ||
"process_id": "5239", | ||
"process_start_date": "2019-06-11T04:59:19Z", | ||
"process_end_date": "2019-06-11T07:08:54Z", | ||
"process_description": "Sample Catalog for Galaxy Clusters", | ||
"process_comment": "Sample Catalog for Galaxy Clusters", | ||
"releases": ["y1_wide_survey"], | ||
"products": [{ | ||
"display_name": "Galaxy Clusters Sample", | ||
"releases": ["y1_wide_survey"], | ||
"fields": ["y1a1_coadd_spt"], | ||
"table": "galaxy_clusters_sample", | ||
"schema": "dri_catalog", | ||
"database": "catalog", | ||
"type": "catalog", | ||
"class": "galaxy_clusters", | ||
"name": "galaxy_clusters_sample", | ||
"association": [{ | ||
"ucd": "meta.id;meta.main", | ||
"property": "id" | ||
}, | ||
{ | ||
"ucd": "pos.eq.ra;meta.main", | ||
"property": "ra" | ||
}, | ||
{ | ||
"ucd": "pos.eq.dec;meta.main", | ||
"property": "dec" | ||
}, | ||
{ | ||
"ucd": "src.redshift.phot", | ||
"property": "zp" | ||
}, | ||
{ | ||
"ucd": "stat.snr", | ||
"property": "snr" | ||
}, | ||
{ | ||
"ucd": "phys.size.radius", | ||
"property": "radius_mpc" | ||
}, | ||
{ | ||
"ucd": "phys.angSize;src", | ||
"property": "radius_amin" | ||
}, | ||
{ | ||
"ucd": "src.class.richness", | ||
"property": "ngals" | ||
} | ||
] | ||
},{ | ||
"display_name": "Clusters Members Sample", | ||
"releases": ["y1_wide_survey"], | ||
"fields": ["y1a1_coadd_spt"], | ||
"table": "cluster_members_sample", | ||
"schema": "dri_catalog", | ||
"database": "catalog", | ||
"type": "catalog", | ||
"class": "cluster_members", | ||
"name": "cluster_members_sample", | ||
"association": [{ | ||
"ucd": "meta.id;meta.main", | ||
"property": "seqnr" | ||
}, | ||
{ | ||
"ucd": "pos.eq.ra;meta.main", | ||
"property": "ra" | ||
}, | ||
{ | ||
"ucd": "pos.eq.dec;meta.main", | ||
"property": "dec" | ||
}, | ||
{ | ||
"ucd": "src.redshift.phot", | ||
"property": "zp" | ||
}, | ||
{ | ||
"ucd": "phot.mag;meta.main;em.opt.g", | ||
"property": "mag_g" | ||
}, | ||
{ | ||
"ucd": "phot.mag;meta.main;em.opt.r", | ||
"property": "mag_r" | ||
}, | ||
{ | ||
"ucd": "phot.mag;meta.main;em.opt.i", | ||
"property": "mag_i" | ||
}, | ||
{ | ||
"ucd": "phot.mag;meta.main;em.opt.z", | ||
"property": "mag_z" | ||
}, | ||
{ | ||
"ucd": "phot.mag;meta.main;em.opt.Y", | ||
"property": "mag_y" | ||
}, | ||
{ | ||
"ucd": "meta.id.cross", | ||
"property": "id_cluster" | ||
} | ||
] | ||
}] | ||
}, | ||
"ticket":"UKW628", | ||
"register_username": "gverde" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
{ | ||
"python.pythonPath": "env_dri/bin/python3.6" | ||
"python.pythonPath": "/home/glauber/projetos/linea/dri/api/env/bin/python3", | ||
"git.ignoreLimitWarning": true | ||
} |
Oops, something went wrong.