Skip to main content
Python Package Index

Installation

ml-olcean-bl can be installed from PyPI with pip:

pip install ml-ocean-bl

Download and Preprocess Data

Prerequisite data must be downloaded and preprocessed into a specific format. Users can either download the original satellite sea surface data and argo-based mixed layer depth data and preprocess themselves, or users can download already preprocessed data corresponding to the paper ‘Probabilistic Machine Learning Estimation of Ocean Mixed Layer Depth from Dense Satellite and Sparse In-Situ Observations’ Foster et al. (ex. 2021).

For the former, see the jupyter notebook ./notebooks/download_preprocess_data.ipynb and run the corresponding lines. Users can also run

sh wget_unprocessed_surface_argo_data.sh

and see the python files ./mloceanbl/preprocess_sss_sst_ssh.py and ./mloceanbl/preprocess_mld.py. Note that in order to download the satellite sea surface data, you will need to register at https://urs.earthdata.nasa.gov/ and get a corresponding password from the podaac drive.

To simply download the already preprocessed data used in the paper mentioned above, simply run

sh wget_preprocessed_surface_argo_data.sh

Training and Usage

For details on the training and testing procedures, see the notebook ./notebooks/model_train_Example.ipynb. For information about how the data should be organized, see ./mloceanbl/data.py.

For detail on the model class, see ./mloceanbl/models.py. Individual NN models: Linear, ANN, ANN with Dropout, ANN with parameterized output distribution, and VAE can be found at linear.py, ann.py, ann_dropout.py, vann.py, vae.py.

Details on the training proceedure can be found in mloceanbl/train.py.

Metadata

Release files for ml-ocean-bl 0.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 ml-ocean-bl 0.1
File Size Uploaded
ml-ocean-bl-0.1.tar.gz 43.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ml-ocean-bl 0.1
File Interpreter ABI Platform
ml_ocean_bl-0.1-py3-none-any.whl Python 3 none any Details

Total release size: 83.2 kB

Release files / ml-ocean-bl-0.1.tar.gz

Download URL ml-ocean-bl-0.1.tar.gz
Size 43.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e3dff04b54229da3862dd00737480bd493de9a4f76e156e887a5295f8e6364a8
BLAKE2b-256 checksum
How to use checksums
e8b271a4b52e47345cd94404bade963d7d6a2d1d2329f7ee206ebed458ef3e74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.6.0.post20210108 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6

Release files / ml_ocean_bl-0.1-py3-none-any.whl

Download URL ml_ocean_bl-0.1-py3-none-any.whl
Size 39.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a9f62ac09ac8dd9a9c267d4b12fe9d662d2c79f3f3918df1ff815c6150cec958
BLAKE2b-256 checksum
How to use checksums
d9d97f866a9d3263f9d829d62e41c3d4c203af223185b3671520b9a985ab8107
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.6.0.post20210108 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files

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