google-code-export / stoqs

Automatically exported from code.google.com/p/stoqs
GNU General Public License v3.0
1 stars 1 forks source link

Finish factoring out methods from DAPloader.py: Base_Loader() up to __init__.py: STOQS_Loader() #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Several methods relating to creating various STOQS objects (platform, activity, 
parameter, activityparameter, etc.) are not specific to loading data from 
OPeNDAP (DAP) sources.  These methods belong in a "baser" class that 
Base_Loader will inherit from.  This will improve future maintainability of the 
code base as other loaders (for non-DAP data) can also inherit form 
STOQS_Loader to get these base-level functions.

Original issue reported on code.google.com by MBARIm...@gmail.com on 11 Jun 2012 at 9:39

GoogleCodeExporter commented 9 years ago
Following this refactoring the DAPloader class could be further modified to 
better support the Climate Forecast Discrete Geometry feature types:

http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.6/ch09.html

DAPloader inherently supports the trajectory feature type, but it should also 
support the timeSeries and timeSeriesProfile feature types so that station data 
can also be loaded.

Original comment by MBARIm...@gmail.com on 17 Jan 2013 at 7:37

GoogleCodeExporter commented 9 years ago
With changeset 
https://code.google.com/p/stoqs/source/detail?r=264f15f7e6f7e53945f86fd3d956a6ef
12a8625d DAPloaders.py is now ready for changes to better support different 
discrete geometry feature types.  The proposed class hierarchy is something 
like:

Base_Loader(STOQS_Loader)
|
+-- Trajectory_Loader
|       |
|       +-- Lrauv_Loader
|       +-- Dorado_Loader
|       +-- Glider_Loader
|
+-- TimeSeries_Loader
        |
       +-- Mooring_Loader
       +-- Station_Loader

Original comment by MBARIm...@gmail.com on 18 Jan 2013 at 11:46

GoogleCodeExporter commented 9 years ago

Original comment by MBARIm...@gmail.com on 27 Feb 2013 at 12:00

GoogleCodeExporter commented 9 years ago
Started work on DAPloaders.py with adding methods _genTimeSeries(), 
_genTimeSeriesProfile() and _genTrajectory that will key off of global 
attribute featureType in CF-1.6 as a hint of which one _genData() should call. 
Verification of the choice will occur by peeking at the shape of the data 
source.

Original comment by MBARIm...@gmail.com on 8 May 2013 at 9:30

GoogleCodeExporter commented 9 years ago
The Discrete Sampling Geometry featureTypes of trajectory, timeSeries, and 
timeSeriesProfile are now supported by DAPLoaders.py. The UI visualization 
functionality is being implemented and perhaps some bugs will arise, but for 
now I'll mark this issue as fixed.

Original comment by MBARIm...@gmail.com on 10 Jul 2013 at 11:51