Git Product home page Git Product logo

Comments (3)

anthonyfok avatar anthonyfok commented on June 27, 2024

And maybe try to deduce the arguments from existing files in the current directory so that instead of

../scripts/TakeSnapshot.py ACM4p9_GeorgiaStraitFault b 1 2 3 4 5
../scripts/TakeSnapshot.py ACM7p4_DenaliFault b 181 182 183 184 185
../scripts/TakeSnapshot.py SCM5p5_ConstanceBay b 118 119 120 121 122

we could instead simply run:

../scripts/TakeSnapshot.py ACM4p9_GeorgiaStraitFault
../scripts/TakeSnapshot.py ACM7p4_DenaliFault
../scripts/TakeSnapshot.py SCM5p5_ConstanceBay

But, if there are ambiguities, stop and ask the user to enter all 7 arguments.

from earthquake-scenarios.

anthonyfok avatar anthonyfok commented on June 27, 2024

And maybe try to deduce the arguments from existing files in the current directory so that instead of

Instead of modifying the Python script, I decided to write a quick-and-dirty bash script scripts/run-TakeSnapshot.sh to do the same.

from earthquake-scenarios.

anthonyfok avatar anthonyfok commented on June 27, 2024

Might like to fix this warning while we are at it:

../scripts/TakeSnapshot.py:293: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.

from earthquake-scenarios.

Related Issues (20)

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.