next up previous contents
Next: Adding Local Access to Up: Client Library Functions Previous: Reading the Values of   Contents

Functions that Write to Data Sets

DODS is a read-only data system. While it is not technically inconceivable, a system which allows modification of remote data sets is operationally much more complex. Thus, functions that write data are rewritten so that they call the original implementation in the case of a local access or return an error code in the case of a remote access. The error code should indicate a recoverable error so that programs which perform both reads and writes can recover if their logic permits. Figure [*] shows the structure of the typical write function in-the DODS client library.

Figure: Structure Chart for Functions that Write to Data Sets
\begin{figure}\centerline{\psfig{figure=client-write.ps}}\end{figure}



James Gallagher 2004-04-21