Giter VIP home page Giter VIP logo

Comments (3)

mshumko avatar mshumko commented on July 4, 2024

Hi @jameswilburlewis,

The requirements.txt file specifies the dependencies for the developer environment which I purposefully pinned to exact versions, while the pyproject.toml specifies looser requirements for users. For your PyHC environment, may I suggest that you install asilib via python3 -m pip install asilib, or python3 -m pip install . from in the asilib/ directory.

Please let me know if you run into any trouble installing the package, or if you'd like me to loosen any dependencies in pyproject.toml.

P.S. I plan to attend at least a part of the PyHC summer school, and if necessary I am happy to help out with your examples. Reproducing results from well-known papers is always a joy.

P.S.S. Thank you for the appraise! While asilib has a downloader built-in already, I have not considered using pyspedas as an alternative downloader. Is this the function that handles downloading for all missions that pyspeas supports?

from asilib.

jameswilburlewis avatar jameswilburlewis commented on July 4, 2024

After opening the issue, I did see the looser requirements in pyproject.toml. I asked Shawn Polson to take a look, and he did see some conflicts (he didn't mention what they were, though...) Maybe it's better not to try fitting it into the environment at this late date...we can revisit the issue after summer school is over. I will still generate a few movies for my presentation and mention how I did them with asilib; we just won't use that package for any of the live demos under the PyHC environment. We're focusing on the March 24, 2023 event -- there were clear skies over Canada that morning, and some very nice imagery from several of the THEMIS ASI sites!

Yes, download.py is the main routine PySPEDAS uses for downloading data. There's a load routine themis.ground.ask() for loading keograms; I should probably add a few more routines for loading the THEMIS ASI data, maybe also the REGO or T-rex datasets. Then all you'd have to do is call the top level load routines, and pull the data arrays out of the returned tplot variables, rather than writing code do call download() then doing your own cdf processing....

I'm working on implementing field line tracing in pyspedas using the geopack package. That might come in handy for animating conjunctions using magnetic foot points.

I'll go ahead and close this issue....I'll be sure to let you know when I've added some more ASI support to pyspedas. Meanwhile, if you have future updates for asilib, I'd be happy to help test them!

from asilib.

mshumko avatar mshumko commented on July 4, 2024

Would you mind asking Shawn to share what the conflicts are? I can experiment with relaxing the dependencies. And do you see an immediate benefit to merging asilib into PyHC before the summer school? I've been meaning to do it, and I can commit some time now to the merge.

I'll be happy to utilize your field line tracing code so please keep me updated. And we should chat later about how to download the data. To my knowledge the REGO and TREx data can only be accessed from Calgary's site which has a non-trivial folder structure. Specifically, one of the parent folders of the data is, for example, kapu_themis21/, where the "21" has to be deduced using regular expressions on the hrefs.

from asilib.

Related Issues (13)

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.