Child pages
  • Protocol OPeNDAP uploading

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

How to put netCDF files on the OPeNDAP server of OpenEarth.

...

This protocol is will be a deliverable for the Building with Nature project DM 1.1

  • Verify whether the data are open, and you can publish them on interne. (Keep a copy of the email or a hard-copy of the letter, avoid nasty discussions afterward).
  • Put the raw data in the OpenEarthRawData repository.
    • Make a new directory per institute (Lower lower case).
    • Add an INSPIRE *.xml file.
    • Add a *.url internet shortcut file to the intetnet source (if any).
    • Make subdirectories /raw, /cache and /scripts.
      • Store the raw data in /raw
      • /cache is for data that could in principle be downloaded, so there is no need for version control. However, some sources, notably www.waterbase.nl, are down for a long time, so caching is useful.
      • Make a script to transform the data into netCDF files. Store the script in /scripts. Make sure the script only needs tools from /script and OpenEarth tools.
  • Zet de netCDF files altijd eerst op Always put new netCDF first in your local synchronized local copy of the data in the OPeNDAP server. Make this local copy available to your entire company by making it accessible through your local network. This network copy is for optional fast access within your institute. Within Deltares this is P:\mcdata\opendap\ . (Schrijfrechten aanvragen bij (ask for write access Gerben de Boer). This is for optional fast access within the Deltares network.Maak een directory aan voor het instituut dat de data-eigenaar is. In principe moeten exact dezelfde directory structuur hebben: For users outside Deltares we are working on ftp access to the filer server under OPeNDAP, which enable you to make synchronized local copy (with rsync).
  • Make a new directory per institute or consortium that owns the copyright of the data. In principle the following sources need exactly the same directory structure:
    • the OpenEarthRawData repository
    • the OPeNDAP servers,
    • your synchronized local copy of the data in the OPeNDAP servers (within Deltares: P:\mcdata\opendap,
    • de OPeNDAP servers,
    • de OpenEarthRawData repository
    • de )
    • the *.kml direcory (zie beneden)
  • Vanaf een windows PC, en alleen vanuit het Deltares netwerk, kun je de netCDF files met het programma From a windows PC - and currently only from within the Deltares network - you can add netCDF files from local copy to the OPeNDAP servers with the free program WinSCP (http://winscp.net/) op deze servers zetten.Er zijn twee OPeNDAP servers van OpenEarth. You can also use fabric fabric.
  • Currently OpenEarth has employed two OPeNDAP servers:
    1) productie production server: http://opendap.deltares.nl
    2) test/acceptatieacceptation/fall-back server: http://dtvirt5.deltares.nl:8080
    Probeer altijd eerst je data uit op de Always try the data first on the dtvirt5 (test functie), en daarna pas op de echte productie server. Als de data goed bevonden is, gelieve deze op allebei de servers neer te zetten, ook de and only on the real production server afterwards. If the data assessed as OK, do put the data on both servers, also on the dtvirt5 (fall-back functiefunction). Als je aan OPeNDAP zelf gaat sleutelen, dit eerst op de dtvirt5 succesvol testen, en dan pas op de productie opendap installeren (acceptatie functieIf you are going to make changes to the OPeNDAP server isself, please test this first successfully on the dtvirt5, before installing/employing this on the production OPeNDAP server (acceptation function).
  • Log in met with your je Deltares username. Je wachtwoord is je bekend voor de dtvirt5, en is je reguliere Deltares wachtwoord voor de productieserver (verandert niet mee als je je Deltares wachtwoord verandert). Je kunt je password veranderen met linux commando passwd.Kopier de netCDF dan naar de Your password is known to you for the dtvirt5, and is your regular Deltares password for the productionserver. You can change your je passwords on the linux machines with command passwd.
  • Copy the netCDF files to the data directory:
    @opendap.deltares.nl: /drbd/opendap-data/
    @dtvirt5.deltares.nl: /data
  • Als je een If you made Google Earth *.kml/*.kmz file hebt gemaakt, kun je die ook op de dtvirt5 neerzetten. hier wordt naartoe gelinked vanaf files too, you can put them on the dtvirt5 too. The www.OpenEarth.nl wiki links to the kml directory: @dtvirt5.deltares.nl: /data/kml
    Hanteer wederom dezelfde directory structuurAls het een mooie dataset betreft, post dan ook even een news bericht op Please use the same directory structure again (organised per originator/copyright owner.
  • If you added a nice dataset, do post a news item on www.OpenEarth.nl.