CME CVM API - PowerPoint PPT Presentation

1 / 9
About This Presentation
Title:

CME CVM API

Description:

Different APIs. Provide distinct APIs for different users. For example: ... Parameters could contain optional values. ETrees vs ASCII files? ... – PowerPoint PPT presentation

Number of Views:81
Avg rating:3.0/5.0
Slides: 10
Provided by: epicen
Category:
Tags: api | cme | cvm | apis

less

Transcript and Presenter's Notes

Title: CME CVM API


1
CME CVM API
2
Basic Question
  • Interactive interface?
  • Programmatic access.
  • Static interface?
  • Download file to access locally.
  • Both.

3
Proposed API
  • VelocityContainer getVelocityAtPoint (Location
    atLocation,
  • Parameter params)
  • 2DVelocityContainer getVelocityForSurface
    (GriddedSurface surfaceDesc,
  • Parameter params)
  • 3DVelocityContainer getVelocityForVolume
    (GriddedVolume volumeDesc,
  • Parameter params)
  • DataFile getVelocityFileAtPoint (Location
    atLocation,
  • Parameter params)
  • DataFile getVelocityFileForSurface
    (GriddedSurface surface,
  • Parameter params)
  • DataFile getVelocityFileForVolume (GriddedVolume
    volume,
  • Parameter params)
  • ParameterDescription getParameterList (String
    forMethod)

4
Different APIs
  • Provide distinct APIs for different users.
  • For example
  • ETree getOctreeVelocityForVolume (GeoVolume
    volume,
  • float frequencyHz,
  • int pointsPerWavelength,
  • Parameter params)
  • ETree getGridVelocityForVolume (GeoVolume volume,
  • int resolution,
  • Parameter params)
  • Parameters could contain optional values.
  • ETrees vs ASCII files?

5
Of Points, Surfaces, and Volumes.
  • Point Locations
  • Lat/Lon
  • UTM
  • Surfaces
  • Planar or not
  • Regular grid or not
  • Volumes
  • Lat/Lon, UTM, local
  • Spherical or flat

Location
  • LatLonLocation
  • Latitude
  • Longitude
  • Datum
  • Elevation
  • Depth
  • Geoid
  • UTMLocation
  • UTMy
  • UTMx
  • UTMzone
  • Elevation
  • Depth
  • Geoid
  • Correction

6
Of Points, Surfaces, and Volumes.
  • Planar
  • Strike, dip, origin, extents.
  • Normal, origin, extents.
  • Gridded
  • ala OpenSHA.
  • Need data value container.
  • Triangulated
  • GoCAD TSurfs (CFM, USR).
  • GNU Triangulated Surfaces (open source.)

7
Implementation
  • 1D Web Service implementation started.
  • Based on proposed API.
  • WSDL definitions.
  • Get running on Axis.
  • Other models as Web Services?

8
Some other things
  • Units
  • String names.
  • FISSURES-like.
  • Something in between?
  • Standards.
  • None.
  • On every value?
  • KRR on Units.

9
Other things
  • Metadata interface?
  • Programmatic interface for querying metadata?
  • Property getMetadata()
  • Property getMetadata (String name)
  • Value getMinimumResolution()
Write a Comment
User Comments (0)
About PowerShow.com