The Integrated Data Viewer (IDV) has the ability to publish IDV bundles and generated products directly to a RAMADDA data server. This facility is defined in an IDV plugin. To load it you need to bring up the Plugin Manager from the Tools->Plugin Manager menu. Under Miscellaneous install the "RAMADDA Publisher" plugin and restart the IDV.
8.2.0 Configuring the Publisher Facility
This plugin provides the ability to create new accounts on different RAMADDA servers. It also comes with a pre-defined anonymous account that allows you to publish content to the Contributions area on Unidata's motherlode server.

If you have your own account on a RAMADDA server you can create an IDV publisher. If you have successfully installed the RAMADDA Publisher plugin there should be a "Publisher" menu in the File menu. Choose File->Publisher->New to bring up the RAMADDA Publisher configuration dialog:

images/idvpublishernew.gif?version=623
You can optionally change the name. You need to provide the server name (e.g., motherlode.ucar.edu), the port the server is running on, the base path of the repository ("/repository" is the default), and your user id and password. Note: the password is saved on your local disk (in your IDV directory) similarly to how browsers and other clients save and manage your passwords.

You can leave the User Id and Password fields blank to create an anonymous account. Different folders on a RAMADDA server can be configured to support anonymous upload. You or others won't be able to view any anonymously uploaded content until the folder administrator OK's the publication of the content.

Pressing OK will create a new Publisher configuration and attempt to connect to the server. You can change this configuration through the File->Publish->Configure menu. You can remove a publisher through the File->Publish->Delete menu.

8.2.1 Publishing Bundles
Once you have created one or more publisher accounts whenever you save a bundle, a captured image or a movie there will be a "Select Publisher" menu shown in the File Dialog:
images/idvpublisherfile.gif?version=623
Enter the file name you want save and also select the Publisher account you want to use from the "Select Publisher" menu. The IDV will save the bundle or product file as usual but then it will also popup the publish dialog:
images/idvpublisher.gif?version=623
This allows you to enter a name and description for the entry that will be created on the RAMADDA server. You can optionally enter any number of "tags" (comma separated) in the Tags field.

You need to select the RAMADDA folder to where your new entry will be placed. This tree view will indicate what folders you have write access to. The bold folders are those you have write permission for. The italics folders are those that you can anonymously upload to. Select the folder. Note: by right clicking on a folder you can bring up a context menu that allows you to create a new folder or to refresh the folder tree view.

The date range and lat/lon bounding box are taken from the date range and lat/lon extent of the the displays you have loaded. You can change these values and/or clear out the lat/lon values.

Pressing OK will publish the bundle or product to RAMADDA and a confirmation dialog will be shown.

If you have data loaded in the IDV (e.g., OpenDAP grids) whose source is the RAMADDA server that you are publishing to you can optionally choose to create a RAMADDA "association" between the content your are publishing and the data entry in RAMADDA.

When you save a ".zidv" bundle (i.e., one that contains data) the publisher dialog will show a checkbox that allows you to upload the data files that the zidv bundle contains as separate entries to RAMADDA. You can also choose to upload the .zidv bundle as well.

8.2.2 Publishing Products
When you capture an image or a movie product the File Save dialog will also have a "Select Publisher" menu. When publishing a product you can choose to publish the product directly or you can choose to publish a bundle and attach the product to the bundle. For example, if you do a screen capture in the IDV and publish it you can publish the bundle file and attach the screen capture as an attachment and have it shown as a thumbnail image in RAMADDA.