Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updated to add keywords to search terms table * Added Dockerfile and docker-compose for pgadmin + secrets * Added JsonKeywords model * Modified logic to add + use SearchTerms table, added logic to write json to JsonKeywords table * Fixed json.loads(...) error * Changed error handling to populate json_keywords table with error messages instead of using Meta* tables * Removed Meta* and Keywords classes from ORM * Modified Datafiles ORM, includes level, removed edr. Modified search terms. Modified Datafiles ORM to include level as a single-character column. Fixes #210. Modified Datafiles ORM to eliminate 'edr' from source / label. Fixes #211. Modified search terms table to include upctime, added footprints, removed boundingboxintersections, added max/min/center for phase/incidence/emission angle, added err_flag column. Fixes #197. * Added functionality to zip .map file * testing zip fix * Added conditional decode to Qfile2Qwork function * Finished error handling refactor * Added namespace argument * Added .map to zipped files. Addressed decode errors. * Removed debugging print statements. * Removed final references to Meta* tables. "Bands" information is now placed in keywordsOBJ dictionary, which is converted to JSON when placed into the database. Needs testing. * Fixed 'engine' bugs, removed 'meta' from instruments, table * Added DataFiles to auto-generated tables * Fixed function definition ordering * Functional prototype up and running. * Removed debugging print statement * Initial database_test.py * Refactored ORM to include foreign keys in search terms + JSONB in json keywords * Added geoserver Dockerfile * Added scripts for REST API and GeoServer, the notebook has taken the BASH database file and converted them to python calls * Updated with docs and removed scripts * Removed secrets * Initial database initialization tool * Removed table creation functionality from UPC_process * Updated with new version of PGAdmin * Refactored upc error reporting (json keywords, queues, logging) (#270) Removed UPC start/stop times from error dictionary. Added file name to error dictionary. Adding warn-level logging for upc failure. Added UPC error queue + queueing for inputfile + isis program that failed. * Added mechanisms to allow upc queueing to filter results by substring. (#279) Added a 'filter' flag to upc queueing. This parameter functions as a subquery that uses a substring to filter the files that will be added to the UPC ready queue. Closes #276 * INCOMPLETE: Readying for parallel processing. * INCOMPLETE: Readying for parallel processing. (#285) Just noting for the record that I am merging this PR so that we have a baseline for conducting a code review of UPC_process.py and that I understand that UPC-related code in this PR is not functional. * Various bugfixes * Refactored HPCJobber to accept arguments that will be passed to subsequent procedures. * Removed now-deprecated 'ingest-override' functionality in favor of parameterized commands. * Addressed logging, parameterization, and querying issues. - Added 'persist' flag - Updated logger formatting to include slurm array id and task id - Swapped hard-coded paths for config file paths - Set detached label column in database - Added spacecraft id to query for instrument lookup - Removed 'successfully' descriptor in final log message * Moved duplicate functionality outside of conditionals, removed branches in which logic was identical. * Fixed detached label and EDRsource * Added loglevel as argument to UPC_process (#314) * Merged master into db_refactor (#315) * Removed args classes in favor of more traditional argparse usage. * Fix POW recipe for Voyager (#253) * Update issue templates * Update issue templates * PDSinfo.json: replaced .LBL with .IMG in cassini_iss upc_reqs (#272) Edited pdsinfo file to more accurately represent cassini's upc requirements and allow for POW processing. * Added error message for incorrect volume specification (#273) * Fixed logic for map and pow locking (#278) * Service lock (#280) * Added service lock * Added logic to exit if services are locked * Delete bug_report.md * Delete feature_request.md
- Loading branch information