Code Monkey home page Code Monkey logo

omnium's People

Contributors

markmuetz avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

omnium's Issues

Add more processes

Like a precip unit converter, as well as a few more simple outputters.

UM Metadata handling

All the files that I can lay my hands on that are useful for working out the UM settings, including fcm revision numbers etc if I can get these.

Testing

Basic test suite. Ideally test each of the commands exposed to user plus a few of the various command line switches. Functional tests of various processes and checking that I'm handling config files right etc.

Docs

Simple first pass of docs. readme/installation/quick start as minimum. Sphinx for docs (stormtracks for setup).

Add omni archive command

Will build on #7, grabbing metadata and copying all relevant files to /nerc/... As in #7 comment, will need to be able to see /nerc, /work, so means I'll have to switch to PP nodes I think.

Improve Process classes

They should be smarter about which file types etc they accept, and the input/output they consume/create.

Node filenames contain ..

Although not strictly a problem - can still create/access them with convoluted filenames like:
/nerc/n02/n02/mmuetz/um10.5_runs/20day/u-af095_64x64km2_1km_no_graupel/results/../work/20000101T0000Z/atmos/atmos.438.1.nc
not ideal.

Sync files from remote computer

Quite a few moving parts. Need to generate a list of files on the remote computer, compare with the currently held local files, transfer files. Relies on being able to sync node dag across computers first.

Versioning

Version numbers (see stormtracks for ideas).

Problems to do with gening/syncing nodes from one comp to another

On comp A: batch0 produced, batch1 processed from batch0. On comp B: batch1 synced and process changed. Now you can't gen-nodes --force --regen because there are no init nodes. Hack for now is to make the init nodes (touch atmos.000.pp5, atmos.000.pp5.done). More generally, need to handle processes being changed in a more sensible way.

Add a create-process subcommand

Create src/python/<proc_name>.py, fill in some of the boilerplate code for creating a process. Offer some options about which class to base it on (e.g. --baseclass=IrisProcess or similar).

Logging of all actions

Using inbuilt python logging. Needs to be smart about transferring these on sync of remote files too.

Regenerate in omni shell causes all other classes to have stale dag references

Regenerate creates a new dag. All other classes are set up with a dag when they are created. Manifested itself as an OperationalError: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely) (OperationalError) database is locked u'UPDATE groups SET status=? WHERE groups.id = ?' ('done', 3) when doing a self.dag.verify_status(update=True) whilst running a proc_eng.process_batch(batch) after doing a dag = NodeDAG.regenerate(config, process_classes).

Move all settings into analysis classes

There isn't much point in having analysis settings in the rose suite, move these into the classes. N.B. rose suite will still have run settings like e.g. order of analysis, whether particular analysis is required.

Improve threed viewer

  • Add new omnium 3D command
  • Handle multiple vars sensibly
  • Allow config of all opts through interface
  • Simple repr of 2D fields

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.