GithubHelp home page GithubHelp logo

eccotour.jl's People

Contributors

anthony-meza avatar cora-a-hersh avatar ggebbie avatar github-actions[bot] avatar

Stargazers

 avatar

Watchers

 avatar

eccotour.jl's Issues

Understanding rotate_uv

The rotate_uv function is not identical to the UVtoUEVN in MeshArrays.jl. However, rotate_uv obeys conservation of volume better than UVtoUEVN. One main difference is that UVtoUEVN interpolates the velocities to the grid center before rotating. Whether or not this a necessary step is still in question.

ECCOtour can't be added to default environment due to SigmaShift

"""
(@v1.6) pkg> add https://github.com/ggebbie/ECCOtour.jl
Updating git-repo https://github.com/ggebbie/ECCOtour.jl
Updating registry at ~/.julia/registries/General
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package SigmaShift [29a8b8bc]:
SigmaShift [29a8b8bc] log:
├─SigmaShift [29a8b8bc] has no known versions!
└─restricted to versions * by ECCOtour [414fb998] — no versions left
└─ECCOtour [414fb998] log:
├─possible versions are: 0.1.11 or uninstalled
└─ECCOtour [414fb998] is fixed to version 0.1.11
"""

NetCDF error when multithreading

[268256] signal (11.1): Segmentation fault
in expression starting at none:1
NC_create at /home/gebbie/.julia/artifacts/4a6fe8c6eda7f19d80afb858eb9f7cbe312f1453/lib/libnetcdf.so (unknown line)
nc__create at /home/gebbie/.julia/artifacts/4a6fe8c6eda7f19d80afb858eb9f7cbe312f1453/lib/libnetcdf.so (unknown line)
nc_create at /home/gebbie/.julia/artifacts/4a6fe8c6eda7f19d80afb858eb9f7cbe312f1453/lib/libnetcdf.so (unknown line)
nc_create at /home/gebbie/.julia/packages/NetCDF/7hOe9/src/netcdf_c.jl:34
nc_create at /home/gebbie/.julia/packages/NetCDF/7hOe9/src/netcdf_helpers.jl:110 [inlined]
#create#48 at /home/gebbie/.julia/packages/NetCDF/7hOe9/src/NetCDF.jl:772
create at /home/gebbie/.julia/packages/NetCDF/7hOe9/src/NetCDF.jl:763 [inlined]
#create#49 at /home/gebbie/.julia/packages/NetCDF/7hOe9/src/NetCDF.jl:854 [inlined]
create at /home/gebbie/.julia/packages/NetCDF/7hOe9/src/NetCDF.jl:854
unknown function (ip: 0x7f650e3ff660)
_jl_invoke at /cache/build/builder-amdci5-1/julialang/julia-release-1-dot-10/src/gf.c:2894 [inlined]
ijl_apply_generic at /cache/build/builder-amdci5-1/julialang/julia-release-1-dot-10/src/gf.c:3076
jl_apply at /cache/build/builder-amdci5-1/julialang/julia-release-1-dot-10/src/julia.h:1982 [inlined]
do_apply at /cache/build/builder-amdci5-1/julialang/julia-release-1-dot-10/src/builtins.c:768
#create#53 at /home/gebbie/.julia/packages/NetCDF/7hOe9/src/NetCDF.jl:1020
create at /home/gebbie/.julia/packages/NetCDF/7hOe9/src/NetCDF.jl:1019 [inlined]
#nccreate#71 at /home/gebbie/.julia/packages/NetCDF/7hOe9/src/NetCDF.jl:1268
_jl_invoke at /cache/build/builder-amdci5-1/julialang/julia-release-1-dot-10/src/gf.c:2894 [inlined]
ijl_apply_generic at /cache/build/builder-amdci5-1/julialang/julia-release-1-dot-10/src/gf.c:3076
jl_apply at /cache/build/builder-amdci5-1/julialang/julia-release-1-dot-10/src/julia.h:1982 [inlined]
do_apply at /cache/build/builder-amdci5-1/julialang/julia-release-1-dot-10/src/builtins.c:768
nccreate at /home/gebbie/.julia/packages/NetCDF/7hOe9/src/NetCDF.jl:1195
_jl_invoke at /cache/build/builder-amdci5-1/julialang/julia-release-1-dot-10/src/gf.c:2894 [inlined]
ijl_apply_generic at /cache/build/builder-amdci5-1/julialang/julia-release-1-dot-10/src/gf.c:3076
write at /home/gebbie/projects/ECCOtour.jl/src/ECCOtour.jl:1501
unknown function (ip: 0x7f650e3f7945)
_jl_invoke at /cache/build/builder-amdci5-1/julialang/julia-release-1-dot-10/src/gf.c:2894 [inlined]
ijl_apply_generic at /cache/build/builder-amdci5-1/julialang/julia-release-1-dot-10/src/gf.c:3076
macro expansion at ./timing.jl:279 [inlined]
macro expansion at /home/gebbie/projects/ECCOonPoseidon/scripts/state2sigmaregularpoles.jl:81 [inlined]
#215#threadsfor_fun#3 at ./threadingconstructs.jl:215
#215#threadsfor_fun at ./threadingconstructs.jl:182 [inlined]
#1 at ./threadingconstructs.jl:154
unknown function (ip: 0x7f650e381522)
_jl_invoke at /cache/build/builder-amdci5-1/julialang/julia-release-1-dot-10/src/gf.c:2894 [inlined]
ijl_apply_generic at /cache/build/builder-amdci5-1/julialang/julia-release-1-dot-10/src/gf.c:3076
jl_apply at /cache/build/builder-amdci5-1/julialang/julia-release-1-dot-10/src/julia.h:1982 [inlined]
start_task at /cache/build/builder-amdci5-1/julialang/julia-release-1-dot-10/src/task.c:1238
Allocations: 4874807464 (Pool: 4861515777; Big: 13291687); GC: 1638

mv example scripts to ECCOonPoseidon

Scripts found in ECCOtour.jl/examples including spice_propagation_plot and extract_nino34 need to be moved to ECCOonPoseidon and updated for DrWatson.

`using` statements fail at first usage

Cora and I have seen problems with the using statements at the beginning of a script, for example, filter_interannual.jl. First, we made sure that the Pkg.status() returns the proper packages, not just pointing to a local directory. If problems persist, we found that updating the packages may help (i.e., Pkg.update()).

`var2regularpoles` slow

take 350 s

used to take 100 s

  • garbage collection
  • julia 1.10
  • multi-threading
  • deepcopy
  • code interaction with ECCOonPoseidon

Make statistics in `allstats` and `faststats` more Julian

maximum and minimum have been removed in ECCOtour because they can be handled by the mask function in MeshArrays.

Other statistics like mean and std require filtering out land values. They currently work, but the functions have a syntax that is not Julian. They also re-do much of the work in ECCOtour.mask. Consider updating this code.

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.