Code Monkey home page Code Monkey logo

physocean.jl's Introduction

PhysOcean

Build Status Build Status Windows codecov.io documentation stable documentation latest

Content

You will find here some general tools for Physical Oceanography (state equations, bulk formulas, geostrophic velocity calculations ...).

Installing

Your need Julia to use PhysOcean. The command line version is sufficient for PhysOcean. Inside Julia, you can download and install the package by issuing:

using Pkg
Pkg.add("PhysOcean")

Or if you want to use the latest version, you can use the following command:

using Pkg
Pkg.add(PackageSpec(name="PhysOcean", rev="master"))

Testing

A test script is included to verify the correct functioning of the toolbox. The script should be run in a Julia session.

using Pkg
Pkg.test("PhysOcean")

physocean.jl's People

Contributors

alexander-barth avatar ctroupin avatar github-actions[bot] avatar internal-tide avatar jmbeckers avatar juliatagbot avatar mcabbott avatar staticfloat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

physocean.jl's Issues

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

WorldOceanAtlas KeyError: key "file_name" not found

Hello,

using the latest version of PhysOcean (all the tests passed) and Julia 1.0.0, I cannot test the WOD download.
Running:

WorldOceanDatabase.download(lonr,latr,timerange,varname,email,basedir);

returns UndefVarError: Dates not defined but this can be easily fixed by adding using Dates.
Then after recompiling and running the same code, I get:

KeyError: key "file_name" not found

Stacktrace:
 [1] getindex at ./dict.jl:478 [inlined]
 [2] download(::StepRangeLen{Float64,Base.TwicePrecision{Float64},Base.TwicePrecision{Float64}}, ::StepRangeLen{Float64,Base.TwicePrecision{Float64},Base.TwicePrecision{Float64}}, ::Array{Date,1}, ::String, ::String, ::String) at /home/ctroupin/.julia/packages/PhysOcean/Xi3Gc/src/WorldOceanDatabase.jl:227
 [3] top-level scope at In[3]:1

Nonexistent file crash in CMEMS.jl

Hello,
I found a bug in CMEMS.jl.
If all the content in index_history.txt does not match exactly what really is in the folders inside the function CMEMS.download will enter in a loop that starts in line 115 (catch err).
You can relax this catch by skipping non existent files or directories listed in index_history.txt.
Sincerely,
Paolo Oliveri

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.