Skip to main content

Titantuner

The titantuner is a web interface for tuning the many parameters of quality control methods in titanlib.

Example of titantuner

Installation

Titantuner is available on pypi, and can be installed as follows:

pip3 install titantuner

To install from source, run the following in the root of this repository:

pip3 install .

Running titantuner

titantuner [-p port]

This starts a webserver locally on your computer, making the titantuner available in the browser. Use -p to speicy the port, otherwise it will appear on port 8081. Some sample data from Norwegian Synop stations are provided by default.

Select the test you want to perform (SCT, Isolation, Buddy, Buddy event, SCT resistant, SCT dual, First Guess), and set the test parameters in the UI. Then click on the update button (below the parameters) to see the map showing the results of the tests.

Running titantuner on your own data

Titantuner can parse data files organzed as follows:

lon;lat;elev;value
9.4023;61.5308;928;3.1
10.6878;60.0513;360;2.6

where lat and lon are in degrees, elev in meters, and value is the measurement. Each row represents one observation, and each file represents observations for one time.

Supply a data directory when starting titantuner, which will load all data files in that directory:

titantuner -d <datadir>

Using the autotune function (beta version)

Ongoing development. This function aims at finding optimized parameters for quality control methods. When running the autotune function as it is, three parameters are optimized for the buddy check run on temperature observations. These optimized parameters are the search radius, the minimum number of buddies a station can have, and the variance threshold for flagging the station.

./titantuner/autotune.py obs_ta_20230924T12Z.txt

With obs_ta_20230924T12Z.txt containing 5 columns of data (temperature values) following this format:

lat;lon;elev;value;prid;dqc
61.1697;10.4107;205.0;13.70;5;0
58.2968;8.4620;70.0;14.60;5;7

Metadata

Release files for titantuner 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for titantuner 0.1.1
File Size Uploaded
titantuner-0.1.1.tar.gz 245.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for titantuner 0.1.1
File Interpreter ABI Platform
titantuner-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 265.7 kB

Release files / titantuner-0.1.1.tar.gz

Download URL titantuner-0.1.1.tar.gz
Size 245.9 kB
Tags Source
SHA-256 checksum
How to use checksums
45ea75953b1fd65eb408042d9a02a3b33fa29e756dd093e8a12d235e1e44f8ff
BLAKE2b-256 checksum
How to use checksums
72ed32022d4d7106370a9663c4271f6f71931282001ae18dad7bdb11b0601da7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / titantuner-0.1.1-py3-none-any.whl

Download URL titantuner-0.1.1-py3-none-any.whl
Size 19.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e90950280d313226b059229c34af9e7203c66c33f0cbe825aba160b1d108dfba
BLAKE2b-256 checksum
How to use checksums
2edf2501a13868ea891748e039bc465b0e83a4d71b4b4d2061ca9b9bb761ccb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page