added a method to in Intrinsic() to initialize weathering_data (initialize_weathering_data)
updated InitMassFromSpillAmount initializer to ask Spill for total_mass
each time instead of storing it as an attribute. ElementTypes and thus
the list of initializers could be shared between spills so better to
keep these stateless.
added a better test in model to check a full run with weatherers. This
includes uncertain spills only because the UI needs to support switching
between transport and weathering mode.
Simplified the update of ordered collections in serializable.
some fixes to kml output option for windows
added documentation about caveats of sharing ElementType
updated tests to share 'substance' but not share 'ElementType' between spills
Merge branch 'master' of https://trac.orr.noaa.gov/git/PyGnome
added init_density attribute to ElementType and this gets set by
IntrinsicProps
updated FayGravityViscous().update_area to work on scalars. Also updated tests.
Merge branch 'master' into update_intrinsic
fixed bug in initialize and added a test for it
got rid of default extension for kml output
reverted the change in initializers in 39824c
windages initializers include state so list of initializers should be
tied to a spill
added a failing test marked with xfail - need to discuss and fix
fixed bug showing velocities at depths first time through dialog
updated units for kinematic_viscosity to SI
fixed netcdf names to avg_density and added avg_viscosity
updated test to write output to 'dump' directory and no clean afterwards
Merge branch 'master' into update_intrinsic
removed avg_density computation from evaporation - old code
Merge branch 'master' of https://trac.orr.noaa.gov/git/PyGnome
moved test_reuse_substance to test_spill_container.py and marked it with
xfail. This is a testing issue - it works if run on its own,
$ py.test test_spill_container.py
but fails for following:
$ py.test
Added a property ‘has_weathering’ to the model object.
in-progress: Added a method to query whether an object is contained within a model.