virtualfleet_recovery

Argo float recovery helper

https://github.com/euroargodev/virtualfleet_recovery

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.0%) to scientific vocabulary

Keywords

argo-floats recovery simulation virtualfleet
Last synced: 7 months ago · JSON representation ·

Repository

Argo float recovery helper

Basic Info
Statistics
  • Stars: 3
  • Watchers: 4
  • Forks: 0
  • Open Issues: 3
  • Releases: 2
Topics
argo-floats recovery simulation virtualfleet
Created over 3 years ago · Last pushed almost 2 years ago
Metadata Files
Readme License Citation

README.md

|VirtualFleet-Recovery logo
Virtual Fleet - Recovery is a CLI to make predictions of Argo float positions| |:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| | DOI |

The goal of this repository is to provide a CLI and Python library to make Argo floats trajectory predictions easy, in order to facilitate recovery.

More about Argo floats recovery in here: - https://floatrecovery.euro-argo.eu
- https://github.com/euroargodev/recovery/issues

Documentation

Command Line Interface

Primary groups of commands are predict, describe and db.

vfrecovery predict

``` Usage: vfrecovery predict [OPTIONS] WMO CYC

Execute the VirtualFleet-Recovery predictor

WMO is the float World Meteorological Organisation number.

CYC is the cycle number location to predict. If you want to simulate more than 1 cycle, use the n_predictions option (see below).

Options: -v, --velocity TEXT Velocity field to use. Possible values are: 'GLORYS', 'ARMOR3D' [default: GLORYS] --outputpath TEXT Simulation data output folder [default: './vfrecoverysimulationsdata//'] --cfgparkingdepth FLOAT Virtual floats parking depth in db [default: previous cycle value] --cfgcycleduration FLOAT Virtual floats cycle duration in hours [default: previous cycle value] --cfgprofiledepth FLOAT Virtual floats profile depth in db [default: previous cycle value] --cfgfreesurfacedrift INTEGER Virtual cycle number to start free surface drift, inclusive [default: 9999] -np, --npredictions INTEGER Number of profiles to predict after cycle specified with argument 'CYC' [default: 0] -nf, --nfloats INTEGER Swarm size, i.e. the number of virtual floats simulated to make predictions [default: 100] -s, --domainminsize FLOAT Minimal size (deg) of the simulation domain around the initial float position [default: 5] --overwrite Should past simulation data be overwritten or not, for a similar set of arguments --lazy / --no-lazy Load velocity data in lazy mode (not saved on file). [default: lazy] --log_level [DEBUG|INFO|WARN|ERROR|CRITICAL|QUIET] Set the details printed to console by the command (based on standard logging library). [default: INFO] -h, --help Show this message and exit.

Examples:

      vfrecovery predict 6903091 112

```

vfrecovery describe

``` Usage: vfrecovery describe [OPTIONS] TARGET WMO [CYC]...

TARGET select what is to be described. A string in: ['obs', 'velocity', 'run'].

WMO is the float World Meteorological Organisation number

CYC is the cycle number location to restrict description to

Options: --log-level [DEBUG|INFO|WARN|ERROR|CRITICAL|QUIET] Set the details printed to console by the command (based on standard logging library). [default: INFO] -h, --help Show this message and exit.

Examples:

vfrecovery describe velocity 6903091

vfrecovery describe obs 6903091 112 ```

vfrecovery db

``` Usage: vfrecovery db [OPTIONS] ACTION

Internal simulation database helper

Options: --log-level [DEBUG|INFO|WARN|ERROR|CRITICAL|QUIET] Set the details printed to console by the command (based on standard logging library). [default: INFO] -i, --index INTEGER Record index to work with -h, --help Show this message and exit.

Examples:

vfrecovery db info

vfrecovery db read

vfrecovery db read --index 3

vfrecovery db drop ```

Python interface

vfrecovery.predict

```python import vfrecovery

wmo, cyc = 6903091, 126 results = vfrecovery.predict(wmo, cyc) ```

Signature: vfrecovery.predict( wmo: int, cyc: int, velocity: str = 'GLORYS', output_path: Union[str, pathlib.Path] = None, n_predictions: int = 0, cfg_parking_depth: float = None, cfg_cycle_duration: float = None, cfg_profile_depth: float = None, cfg_free_surface_drift: int = 9999, n_floats: int = 100, domain_min_size: float = 5.0, overwrite: bool = False, lazy: bool = True, log_level: str = 'INFO', )

API Design

Other possible commands

bash vfrecovery meetwith "cruise_track.csv" WMO CYC0

Data storage

Simulation data are stored on disk under the following architecture:

./vfrecovery_simulations_data |- vfrecovery_simulations.log |- WMO |----CYC |----VELOCITY(NAME + DOWNLOAD_DATE + DOMAIN_SIZE) |- velocity_file.nc |- figure.png |---- RUN_PARAMS(NP + CFG + NF) |- float_configuration.json |- trajectories.zarr |- results.json |- figure.png

This ensures that for a given velocity field, all possible simulations are unambiguously found under a single folder

Owner

  • Name: Euro-Argo ERIC
  • Login: euroargodev
  • Kind: organization
  • Email: contact@euro-argo.eu

Euro-Argo is the European infrastructure for the Argo programme that aims at sustaining 1/4 of the global network and enhance coverage in European seas.

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Maze"
  given-names: "Guillaume"
  orcid: "https://orcid.org/0000-0001-7231-2095"
- family-names: "Balem"
  given-names: "Kevin"
  orcid: "https://orcid.org/0000-0002-4956-8698"
title: "Virtual Fleet-Recovery"
doi: 10.5281/zenodo.7520147
url: "https://github.com/euroargodev/VirtualFleet_recovery"

GitHub Events

Total
Last Year

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 93
  • Total Committers: 1
  • Avg Commits per committer: 93.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 81
  • Committers: 1
  • Avg Commits per committer: 81.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Guillaume Maze g****e@i****r 93
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: about 2 years ago

All Time
  • Total issues: 0
  • Total pull requests: 5
  • Average time to close issues: N/A
  • Average time to close pull requests: 26 days
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.2
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • gmaze (5)
Pull Request Authors
  • gmaze (11)
Top Labels
Issue Labels
enhancement (4) documentation (2)
Pull Request Labels
enhancement (3) documentation (1)

Dependencies

webapi/setup.py pypi
  • flask *
environment.yml conda
  • argopy >=0.1.14
  • bottleneck
  • cartopy >=0.19.0
  • dask
  • distributed
  • gcsfs
  • graphviz
  • ipykernel
  • ipywidgets
  • jsonschema
  • jupyter
  • jupyter_client
  • jupyter_server
  • jupyterlab >=0.35
  • jupyterlab_launcher
  • lz4
  • matplotlib
  • nb_conda_kernels
  • nodejs
  • nomkl
  • numcodecs
  • parcels >=3.0.0
  • pip
  • py
  • pydap
  • python 3.9.*
  • python-blosc
  • referencing
  • scikit-learn
  • seaborn
  • shapely
  • tqdm
  • watermark
  • xarray
  • xhistogram
  • zarr
setup.py pypi
  • Click *