Skip to content

Commit

Permalink
Merge branch 'develop' into 'master'
Browse files Browse the repository at this point in the history
Develop

See merge request gnome/pygnome!70
  • Loading branch information
AmyMacFadyen committed Feb 8, 2021
2 parents 3be47f5 + 9fae3b6 commit fc807fa
Show file tree
Hide file tree
Showing 55 changed files with 2,414 additions and 686 deletions.
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ test:

# install the requirements
- conda install --file conda_requirements.txt
- pip install mapbox-earcut

- cd ./py_gnome
- python ./setup.py install
Expand Down
5 changes: 5 additions & 0 deletions conda_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ regex
unidecode>=0.04.19
pyshp=1.2.12

#for SpatialRelease
trimesh
shapely
pyproj
mapbox_earcut # from NOAA_ORR_ERD channel

# NOAA maintained packages
gridded=0.2.5
Expand Down
609 changes: 609 additions & 0 deletions experiments/gnome_weathering/viscosity_with_temp.ipynb

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions lib_gnome/ComponentMover_c.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include "Basics.h"
#include "TypeDefs.h"
#include "CurrentMover_c.h"
#include "CATSMover_c.h"
#ifdef pyGNOME
#include "GridVel_c.h"
#else
Expand Down Expand Up @@ -95,6 +96,7 @@ class DLL_API ComponentMover_c : virtual public CurrentMover_c {

virtual WorldPoint3D GetMove(const Seconds& model_time, Seconds timeStep,long setIndex,long leIndex,LERec *theLE,LETYPE leType);
virtual Boolean VelocityStrAtPoint(WorldPoint3D wp, char *diagnosticStr);
virtual WorldRect GetGridBounds(){return pattern1->GetGridBounds();}

//void SetRefPosition (WorldPoint p) { refP = p;}
//void GetRefPosition (WorldPoint *p) { (*p) = refP;}
Expand Down
1 change: 1 addition & 0 deletions lib_gnome/CurrentCycleMover_c.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ class DLL_API CurrentCycleMover_c : virtual public GridCurrentMover_c {
VelocityRec GetPatValue (WorldPoint p);
VelocityRec GetScaledPatValue(const Seconds& model_time, WorldPoint p,Boolean * useEddyUncertainty);//JLM 5/12/99

virtual WorldRect GetGridBounds(){return timeGrid->GetGridBounds();}
/*virtual OSErr GetStartTime(Seconds *startTime);
virtual OSErr GetEndTime(Seconds *endTime);*/
//virtual double GetStartUVelocity(long index);
Expand Down
Loading

0 comments on commit fc807fa

Please sign in to comment.