Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Converts Environment and Climate Change Canada's SWOB-ML XML files to JSON

NotificationsYou must be signed in to change notification settings

cioos-siooc/swob-to-json

Repository files navigation

Python package

Surface Weather Markup Language (SWOB) to JSON

ConvertsEnvironment and Climate Change Canada'sSWOB-ML XML files to JSON.

SWOB is Surface Weather and Marine Observation Markup Language, the format is described in docshere

Installation

  1. Create a new python environment if required. egpython -m venv venv && source venv/bin/activate
  2. pip install --upgrade https://github.com/cioos-siooc/swob_to_json/tarball/main

Command line usage

  1. python -m swob_to_json/test_files/input_xml/2023-02-01-0615-46036-AUTO-swob.xml
  2. See example output file -/test_files/output_json/2023-02-01-0615-46036-AUTO-swob.xml.json

Module Usage

fromswob_to_jsonimportswob_to_jsonswob_json=swob_to_json.parseFile(filename)# orswob_json=swob_to_json.parseText(xml_string)

Links

About

Converts Environment and Climate Change Canada's SWOB-ML XML files to JSON

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp