Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aeharding/gsl-parser
Parse GSL format ascii reports from https://rucsoundings.noaa.gov
https://github.com/aeharding/gsl-parser
aviation-weather ballooning flying noaa paragliding paramotor
Last synced: 2 months ago
JSON representation
Parse GSL format ascii reports from https://rucsoundings.noaa.gov
- Host: GitHub
- URL: https://github.com/aeharding/gsl-parser
- Owner: aeharding
- License: mit
- Created: 2021-09-03T00:29:01.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-05T04:03:02.000Z (8 months ago)
- Last Synced: 2024-10-03T00:04:44.228Z (3 months ago)
- Topics: aviation-weather, ballooning, flying, noaa, paragliding, paramotor
- Language: TypeScript
- Homepage:
- Size: 67.4 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# gsl-parser
Parse GSL format ascii reports from https://rucsoundings.noaa.gov
```sh
pnpm install --save gsl-parser
```then parse away! 🎉
```ts
import parse from 'gsl-parser'// fetch the ascii report from
// https://rucsoundings.noaa.gov/get_soundings.cgi
//
// documentation on parameters here:
// https://rucsoundings.noaa.gov/text_sounding_query_parameters.pdfconst data = parse(asciiReport)
console.log(data)
```## Example output
This project is 100% Typescript, which helps a lot! However, you can also [check out the test fixtures](test/01/expected.json).
Note: Units of measurement are a little non-trivial. (For example, temperature is measured in tenths of a degree celsius.) [Check out the format docs for more.](https://rucsoundings.noaa.gov/raob_format.html)
## Limitations
This parser is just tested with Op40 and GFS analyses at the moment. Other reports are untested. PRs welcome!