DAP4 Extension: CSV Data Encoding and Response: Difference between revisions
EthanDavis (talk | contribs) m (EthanDavis moved page DAP4 Extension: Text/CSV Encoded Data Response to DAP4 Extension: CSV Encoded Data Response: DAP4 CSV but not necessarily the text/csv media type) |
EthanDavis (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
[[OPULS_Development| << Back to OPULS Development]] | [[OPULS_Development| << Back to OPULS Development]] | ||
This DAP4 Extension | 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<sup><nowiki>[</nowiki>[[#RFC_4180 | RFC 4180]]<nowiki>]</nowiki></sup>, 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 | Name: Text/CSV Encoded Data Response | ||
Line 10: | Line 14: | ||
Description: | Description: | ||
== Requesting DAP4 CSV Encoded Data Response == | |||
<blockquote> | <blockquote> | ||
{| class="wikitable" style="font-size: 95%;" width="90%" | {| class="wikitable" style="font-size: 95%;" width="90%" | ||
Line 16: | Line 21: | ||
! style="width: 30%" | URL Example | ! style="width: 30%" | URL Example | ||
|- | |- | ||
| "'''.dap.csv'''" | | "'''.dap'''" or "'''.dap.csv'''" | ||
| | | | ||
; application/vnd.opendap.dap4.data+csv | ; application/vnd.opendap.dap4.data+csv | ||
: | : DAP4 CSV encoding | ||
| <nowiki>http://server/path/dataset.nc</nowiki> | | <nowiki>http://server/path/dataset.nc</nowiki>'''.dap''' | ||
<nowiki>http://server/path/dataset.nc</nowiki>'''.dap.csv''' | <nowiki>http://server/path/dataset.nc</nowiki>'''.dap.csv''' | ||
|- | |||
| "'''.dap.csv'''" | |||
| | |||
; text/csv | |||
: DAP4 CSV (UTF-8) Data encoding with generic media type | |||
| <nowiki>http://server/path/dataset.nc</nowiki>'''.dap.csv''' | |||
|} | |} | ||
</blockquote> | </blockquote> | ||
== DAP4 CSV Encoding == | |||
== Normative References == | |||
<div id="RFC_4180"></div> | |||
<nowiki>[RFC 4180]</nowiki> [https://www.ietf.org/rfc/rfc4180.txt Common Format and MIME Type for Comma-Separated Values (CSV) Files] | |||
<div id="DAP4_Vol1"></div> | |||
<nowiki>[DAP4 Vol1]</nowiki> [[DAP4:_Specification_Volume_1|DAP4 Volume 1: Data Model, Persistent Representations, and Constraints]]. |
Revision as of 22:12, 20 March 2014
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.