COAMPS Winds Model API
Examples, Demos, and Code
JavaScript API
Minified, preferred
| Latest stable minified version: |
http://cordc.ucsd.edu/js/COAMPS/COAMPSWindsAPI.min.js |
| A specific minified version: |
http://cordc.ucsd.edu/js/COAMPS/COAMPSWindsAPI-vX.X.X.min.js |
| The current minified version: |
http://cordc.ucsd.edu/js/COAMPS/COAMPSWindsAPI-v1.1.3.min.js |
Full version, commented
| Latest stable version: |
http://cordc.ucsd.edu/js/COAMPS/COAMPSWindsAPI.js |
| A specific version: |
http://cordc.ucsd.edu/js/COAMPS/COAMPSWindsAPI-vX.X.X.js |
| The current version: |
http://cordc.ucsd.edu/js/COAMPS/COAMPSWindsAPI-v1.1.3.js |
JSDoc Toolkit Auto-Doc
RESTful Web Service
The COAMPSWindsAPI depends on jQuery, version 1.4 or higher. Make sure that you include jQuery in the head section of your web site. Bonus if it's from a trusted CDN.
Chosing a jQuery CDN
| Google: |
http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js |
| Microsoft: |
http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.5.2.min.js |
| jQuery: |
http://code.jquery.com/jquery-1.5.2.min.js |
|
| http://docs.jquery.com/Downloading_jQuery |
Examples:
- getForecastTimes - easy
- COAMPSWindsAPI_Response - hard
- getValuesByLatLonTime - medium
- getCurrentValuesByLatLon - medium
- getValuesByBoundsTime - medium
- getCurrentValuesByBounds - easy
- getForecastSeriesByLatLon - medium
- (insert|remove|append|replace)Column - hard