diff --git a/assets/favicon.ico b/assets/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..3aaefa35de1096175f3bf5028a1efefea96c03e7 Binary files /dev/null and b/assets/favicon.ico differ diff --git a/assets/python/latency_viewer.log b/assets/python/latency_viewer.log index ea8ff76c30588121a0ffedc5a2210b1446190713..ef232adaae0a6c4eb6dd63dc67134385f4a9f65e 100644 --- a/assets/python/latency_viewer.log +++ b/assets/python/latency_viewer.log @@ -1301,3 +1301,39 @@ ValueError: Must pass schema, or at least one RecordBatch 2025-03-18 21:04:09,415 - INFO - Converting to records... 2025-03-18 21:04:09,444 - INFO - Created 3038 result records 2025-03-18 21:04:09,445 - INFO - Returning response with status code 200 and 3038 records +2025-03-18 21:25:14,863 - INFO - ================================================================================ +2025-03-18 21:25:14,863 - INFO - Data.py script starting +2025-03-18 21:25:14,863 - INFO - Current working directory: /home/ygao/latency/assets/python +2025-03-18 21:25:14,863 - INFO - Script path: /var/www/html/web_internal/students/ygao/latency/assets/python/data.py +2025-03-18 21:25:14,863 - INFO - Python version: 3.9.21 (main, Dec 11 2024, 16:24:11) +[GCC 11.2.0] +2025-03-18 21:25:14,863 - INFO - User running script: Unknown +2025-03-18 21:25:14,864 - INFO - Looking for sat_db_functions in: /var/www/html/web_internal/students/ygao/latency/assets/python and /var/www/html/web_internal/students/ygao/latency/assets +2025-03-18 21:25:14,864 - INFO - Directory contents: ['satellite_relationships.json', '.htaccess', 'latency_viewer.log', 'data.py', 'metadata.py', 'sat_db_functions.py', 'satellites.py', 'generate_relationship.py'] +2025-03-18 21:25:15,297 - INFO - Successfully imported from sat_db_functions +2025-03-18 21:25:15,298 - INFO - Calling data_endpoint function... +2025-03-18 21:25:15,298 - INFO - Query parameters: start_date=2025-03-18, end_date=2025-03-18, start_hour=00:00, end_hour=23:59 +2025-03-18 21:25:15,298 - INFO - Filter parameters: satellite_id=4B, coverage=None, instrument=GIIRS +2025-03-18 21:25:15,298 - INFO - Getting canonical form for: 4B +2025-03-18 21:25:15,298 - INFO - Canonical ID: 4B +2025-03-18 21:25:15,298 - INFO - All variants: ['4B'] +2025-03-18 21:25:15,298 - INFO - Expanded satellite ID 4B to variants: ['4B'] +2025-03-18 21:25:15,298 - INFO - Data request - Period: 2025-03-18T00:00:00 to 2025-03-18T23:59:59, Filters: {'satellite-id': ['4B'], 'instrument': 'GIIRS'} +2025-03-18 21:25:15,298 - INFO - About to call run_sat_latency_query... +2025-03-18 21:25:15,298 - INFO - Querying satellite latency data from 2025-03-18T00:00:00 to 2025-03-18T23:59:59 +2025-03-18 21:25:15,298 - INFO - Converted timestamps: 2025-03-18 00:00:00+00:00 to 2025-03-18 23:59:59+00:00 +2025-03-18 21:25:15,298 - INFO - Query parameters: database=/data/sat_latency, start_date=2025-03-18 00:00:00+00:00, end_date=2025-03-18 23:59:59+00:00 +2025-03-18 21:25:15,298 - INFO - Filters: satellite_ids=['4B'], coverage=None, instrument=['GIIRS'] +2025-03-18 21:25:15,643 - INFO - Successfully converted data: 3069 records found +2025-03-18 21:25:15,645 - INFO - Query returned: 3069 records +2025-03-18 21:25:15,645 - INFO - Converting to DataFrame... +2025-03-18 21:25:15,649 - INFO - DataFrame created with shape: (3069, 12) +2025-03-18 21:25:15,649 - INFO - Processing DataFrame... +2025-03-18 21:25:15,650 - INFO - Columns after normalization: ['topic', 'band', 'coverage', 'ingest_source', 'instrument', 'satellite_id', 'section', 'reception_time', 'start_time', 'end_time', 'create_time', 'latency'] +2025-03-18 21:25:15,650 - INFO - Cleaning latency data... +2025-03-18 21:25:15,652 - INFO - DataFrame shape after cleaning: (3069, 12) +2025-03-18 21:25:15,656 - INFO - Adding canonical_satellite_id column... +2025-03-18 21:25:15,657 - INFO - Converting timestamps... +2025-03-18 21:25:15,672 - INFO - Converting to records... +2025-03-18 21:25:15,700 - INFO - Created 3069 result records +2025-03-18 21:25:15,701 - INFO - Returning response with status code 200 and 3069 records diff --git a/index.html b/index.html index d51aa4aadd8b898167a822b0cafffc0cc2fa8d3c..4ea4244be16d2d1e5fb4d73a9e309d20b80b0486 100644 --- a/index.html +++ b/index.html @@ -3,6 +3,9 @@ <head> <meta charset="UTF-8"> <title>Satellite Latency Viewer</title> + <!-- Favicon --> + <link rel="icon" href="assets/favicon.ico" type="image/x-icon"> + <link rel="shortcut icon" href="assets/favicon.ico" type="image/x-icon"> <!-- Bootstrap CSS --> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet"> <!-- Bootstrap Icons -->