diff --git a/README.md b/README.md index 313880c..23b60a9 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ The TAT-C web application contains four major components: The web application is configured to support the RabbitMQ Broker and Redis Backend. -The application requires TAT-C version 3.7 and accepts all of its space-domain +The application requires TAT-C version 3.8 and accepts all of its space-domain platforms: satellites and Walker, train, MOG, and streets-of-coverage (SOC) constellations, with every orbit type (including two line elements and repeat ground track orbits), instrument type (simple, pointed, and conical), and diff --git a/pyproject.toml b/pyproject.toml index 7d6951b..9fbb0d3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,7 @@ dependencies = [ "itsdangerous", "msgpack-asgi", "python-dotenv", - "tatc >= 3.7.0, < 3.8", + "tatc >= 3.8.0, < 3.9", "tzlocal", "uvicorn[standard]" ] diff --git a/src/static/catalog.js b/src/static/catalog.js index 0b52223..ceb674c 100644 --- a/src/static/catalog.js +++ b/src/static/catalog.js @@ -12,6 +12,12 @@ const SYSTEM_CLASS_LABELS = { geostationary: "Geostationary" }; +const ROLE_LABELS = { + observing: "observing", + transmitting: "navigation (transmitting)", + relaying: "data relay (relaying)" +}; + let catalogSystems = null; let catalogUnchecked = {}; // instruments the user unchecked, by identifier @@ -74,7 +80,7 @@ function loadCatalogSystems() { } function isActive(spacecraft) { - return spacecraft.status != "retired"; + return spacecraft.status != "retired" && spacecraft.status != "storage"; } function renderCatalogSystems() { @@ -108,7 +114,7 @@ function renderCatalogSystem() { return; } renderCatalogDetails(details, system.operator + " ยท " - + (system.role == "transmitting" ? "navigation (transmitting)" : "observing"), system); + + (ROLE_LABELS[system.role] || system.role), system); _.forEach(system.spacecraft, function(spacecraft) { const id = "catalog-member-" + spacecraft.id; const label = $("