.. _how-to-distribute-data-on-the-web:
How to distribute data on the web
=================================
The UH CLIVAR LADCP web site is on the web
`here `_
In order to add a new cruise to this location, on moli do the following:
* Go to the directory ``processed_directory`` containing
the LDEO processed data (typically it is
``path_to_directory/proc/ladcp_ldeo/processed/``):
* In MATLAB, apply``cruise('processed_directory')`` where ``processed_directory``
is the directory containing the LDEO processed data.
Typically it is ``path_to_directory/proc/ladcp_ldeo/processed/``.
This will produce single matlab and nectdf files with *all the cruise data*.
* In ``/home/moli20/htdocs/clivar/ladcp/``, create a directory for the
cruise and copy in it the content of ``processed_directory``.
* change permissions for that directory and its content: ``chmod a+r``
* Add a line to ``index.html`` in ``/home/moli20/htdocs/clivar/ladcp/``.
The new data are then accessible on
`the web site `_