Skip to main content

Machine Learning Ocean Boundary Layer

Project description

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.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ml-ocean-bl-0.1.tar.gz (43.6 kB view details)

Uploaded Source

Built Distribution

ml_ocean_bl-0.1-py3-none-any.whl (39.7 kB view details)

Uploaded Python 3

File details

Details for the file ml-ocean-bl-0.1.tar.gz.

File metadata

  • Download URL: ml-ocean-bl-0.1.tar.gz
  • Upload date:
  • Size: 43.6 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for ml-ocean-bl-0.1.tar.gz
Algorithm Hash digest
SHA256 e3dff04b54229da3862dd00737480bd493de9a4f76e156e887a5295f8e6364a8
MD5 c0078b05f35956b40af3896017177119
BLAKE2b-256 e8b271a4b52e47345cd94404bade963d7d6a2d1d2329f7ee206ebed458ef3e74

See more details on using hashes here.

File details

Details for the file ml_ocean_bl-0.1-py3-none-any.whl.

File metadata

  • Download URL: ml_ocean_bl-0.1-py3-none-any.whl
  • Upload date:
  • Size: 39.7 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for ml_ocean_bl-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a9f62ac09ac8dd9a9c267d4b12fe9d662d2c79f3f3918df1ff815c6150cec958
MD5 eaae602c8b5dc19c7b4511b041966084
BLAKE2b-256 d9d97f866a9d3263f9d829d62e41c3d4c203af223185b3671520b9a985ab8107

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page