dap4-specification's People
dap4-specification's Issues
I do not see a "discussions" tab for this repo. Can someone enable it?
Broken Links
What should be "anchor" base navigational links in the Contents section of these docs are all hardwired to reference docs.opendap.org:
- [<span class="tocnumber">1</span> <span
class="toctext">Introduction</span>](https://docs.opendap.org/index.php?title=DAP4:_Specification_Volume_2#Introduction)
We need to fix them so that the point to the actual anchors in the document. I think that they can be rewritten as relative links. Which, if true, would be the best solution IMHO.
Proposal to support optional checksumming
The spec allows optional checksumming of variable data but as far as I can tell, we never provided a way for a client to tell a server if checksumming should be used on a request.
So I propose the following change to Volume 2, section 5.1 (Query String Parameters) to add the following new query parameter "dap4.checksum".
The possible cases are defined as follows:
- "dap4.checksum=true" -- add checksums
- "dap4.checksum=false" -- suppress checksums
- "dap4.checksum=" -- same as "dap4.checksum=true"
- "dap4.checksum" -- same as "dap4.checksum=true"
- missing (i.e. no "dap4.checksum" specified) -- use the default.
Nathan noted:
"...I think we should also allow for servers that ALWAYS include checksums, i.e. even if the client does not request the checksums the presence of the checksums in the response should not break the clients handling of the response...
I assume that there is no hope for fixing these servers. So I can see three ways of handling this:
-
A short term solution is to make the default be "dap4.checksum=true" when no dap4.checksum query is present (case 5 above). This will work until such time
as clients start including specific dap4.checksum query parameters. At that point, accessing such a server will fail if the user specifies checksums are off. -
We can identify the relevant servers and stick a hack in our libraries to force "dap4.checksum=true" when requests are sent to those servers. The DAP2 code we have already does things like this for non-compliant servers like Columbia. Its ugly, but it works. [Nathan, can you create a list of such servers?]
-
The client always computes the checksum as it reads the variable's data off the socket stream. Then it needs to see if there is an extra four bytes of data at the end of the variable's data. I do not know if this is unambiguously possible. And of course, it is a performance hit.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.