https://github.com/esa/mo.viewer.web
A HTML/JS viewer for CCSDS MO Services
https://github.com/esa/mo.viewer.web
Last synced: 8 months ago
JSON representation
A HTML/JS viewer for CCSDS MO Services
- Host: GitHub
- URL: https://github.com/esa/mo.viewer.web
- Owner: esa
- License: mit
- Created: 2019-01-08T08:43:34.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2025-02-27T17:31:22.000Z (11 months ago)
- Last Synced: 2025-03-31T22:41:26.367Z (10 months ago)
- Language: JavaScript
- Homepage: https://esa.github.io/mo.viewer.web
- Size: 2.83 MB
- Stars: 5
- Watchers: 7
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# MOWebViewer
A HTML/JS viewer for CCSDS MO Services
Visit the [website](https://esa.github.io/mo.viewer.web/) to browse the services.
## How to run and configure locally
### Prerequisites
* Python
### Steps
The following steps assume use of standard linux tools, but same can be achieved in Windows.
```
# Download and unpack the repository
# Alternatively clone using: git clone https://github.com/esa/mo.viewer.web
wget -O moviewer.zip https://github.com/esa/mo.viewer.web/archive/refs/heads/master.zip
unzip moviewer.zip
# Navigate to the cloned repo
cd mo.viewer.web-master
# Start a local HTTP server
python -m http.server
# Use your favourite browser to navigate to the page, e.g.
firefox http://localhost:8000/ &
```
### Configuration
You can edit the configuration file to quickly visualise local books.
E.g. if you are prototyping a new MO Area XML `NewMOArea.xml`, you can copy or symlink it to the directory of the Viewer, and insert the following to the `config.js`:
```
configServiceDefFiles.new_mo_area = [
'https://raw.githubusercontent.com/ccsdsmo/xml-service-specifications/release-8/xml-ccsds-mo-standards/src/main/resources/xml/area001-v001-MAL.xml',
'https://raw.githubusercontent.com/ccsdsmo/xml-service-specifications/release-8/xml-ccsds-mo-standards/src/main/resources/xml/area002-v001-COM.xml',
'/NewMOArea.xml',
];
```