DAP4 Extension: CSV Data Encoding and Response
This DAP4 Extension describes the DAP4 CSV data encoding, how DAP4 servers advertise their support for the DAP4 CSV encoding, and how DAP4 clients can request DAP4 CSV encoded data responses. Though based on the text/csv media type described in RFC 4180[ RFC 4180], the DAP4 CSV is more complex so that it can represent the more complex data structures of the DAP4 data model.
DAP4 Extension Details
how DAP4 servers can advertise support for Text/CSV encoded data responses and how DAP4 clients can request Text/CSV encoded data responses.
Name: Text/CSV Encoded Data Response
Role URI: http://services.opendap.org/dap4/extension/text-csv-data
Description:
Requesting DAP4 CSV Encoded Data Response
URL Suffix Media Type URL Example ".dap" or ".dap.csv"
- application/vnd.opendap.dap4.data+csv
- DAP4 CSV encoding
http://server/path/dataset.nc.dap http://server/path/dataset.nc.dap.csv
".dap.csv"
- text/csv
- DAP4 CSV (UTF-8) Data encoding with generic media type
http://server/path/dataset.nc.dap.csv
DAP4 CSV Encoding
Normative References
[RFC 4180] Common Format and MIME Type for Comma-Separated Values (CSV) Files
[DAP4 Vol1] DAP4 Volume 1: Data Model, Persistent Representations, and Constraints.