Giter Club home page Giter Club logo

oceanrasterconversions.jl's Introduction

๐ŸŽพ Hi, Iโ€™m Joey Bisits (@jbisits) and Iโ€™m interested in all things Julia! I use Julia in my research (physical oceanography) and wherever else I can!

GitHub Stats

oceanrasterconversions.jl's People

Contributors

briochemc avatar jbisits avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

briochemc

oceanrasterconversions.jl's Issues

Shift to `module`s

The two code scripts are not that related and potentially load things that a user may not want. Reworking the scripts into modules will allow an individual part of the package, and the exported functions, to be accessed without need to have the whole (admittedly not huge..) package.

Plot the example 2d histograms on log 10 scale

It looks like there is a PR in Makie that will allow colourscale to be set in the heatmap function but until then can do it manually by

hm = heatmap!(ax, stack_hist.histogram.edges..., log10.(stack_hist.histogram.weights);
              colorrange = (0 5),
              lowclip = :white)

ECCO data download for docs

This all works locally but there is an issue when building the docs. It looks like NCDatasets.jl is able to do exactly what I have done and have it work but when deploying the docs the authentication is denied. If I do not find the solution I will reach out to them.

Documentation updates

Rename ECCO_example to conversion_example. For the demonstration of the Histogram good idea would be to produce something similar (or even demonstrate it can do the same) as xhistogram.

Document deployment

Currently the stable documentation is not the most recent stable version, it is some older version. I thought this would be fixed with recent updates but still need to solve what is going on.

Add more to the example

To show some of the other methods I think a good idea will be to extract a T-S profile, then convert these variables and maybe compute a density to show density with depth.

Package rename

There is now more than just conversions of Raster variables so maybe need to think about renaming the package to reflect this. Instructions on how to do this if it does get renamed.

Write documentation

I will get to making documentation eventually but in the short term I will add a quasi example and how the package works into the README.

Imporve `covert_arguments` method

If the convert_arguments method could turn the zero entries of the Histogram.weights field into NaN would not need the colorrange and lowclip arguments in the plotting. Likely these values cannot be updated (as I think Histogram is an immutable struct) so maybe there is a way in the convert_arguments method to convert these to NaN's?

Cannot slice and then convert variables

Choosing a slice of the data generates a Raster but is has dims and refdims. Need to address this to be able to select a slice and then apply the conversion/computation functions.

Before release

Need to:

  • add explanation of variable names and how to write them in the julia repl
  • remove GibbsSeaWater dependency from the docs as this is not even used
  • once package is registered remove the include and the local using .Ocea...

`read` the `RasterStack/Series` locally in the functions

convert_ocean_vars uses read at the start of the function which loads the RasterStack to memory and makes things fast. Prior to adding this it took a very long time (actually did not complete before I exited) for the ECCO_example.jl to run. read might also need to be implemented in the functions that are exported and used without convert_ocean_vars.

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!

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.