User Tools

Site Tools


metamod:faq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
metamod:faq [2013-07-18 15:46:20]
steingod [Operation and maintenance]
metamod:faq [2013-10-14 14:53:50] (current)
steingod [Operation and maintenance]
Line 88: Line 88:
 Unused or obsolete metadata files may be removed from the XML directory. Any warnings caused by this will be removed after full reinitialisation of the database. Unused or obsolete metadata files may be removed from the XML directory. Any warnings caused by this will be removed after full reinitialisation of the database.
  
-==== How do I change ​metadata? ====+==== How do I edit metadata? ====
  
-FIXME((New editor ​to be used from 2.13, old system ​has been inactive some time))+FIXME - A new editor has been developed, but not fully integrated yet. 
  
 The preferred solution is to use the metadata editor included in the software. This is launched using the "File upload"​ menu and the option "​Dataset administration"​. Login and appropriate privileges are required. The preferred solution is to use the metadata editor included in the software. This is launched using the "File upload"​ menu and the option "​Dataset administration"​. Login and appropriate privileges are required.
  
 Sometimes, the solution above is insufficient. Under such conditions, direct modification of metadata and import of these from the webrun directory using ''​import_datasets''​ may be an option. This option should be used with care!  Sometimes, the solution above is insufficient. Under such conditions, direct modification of metadata and import of these from the webrun directory using ''​import_datasets''​ may be an option. This option should be used with care! 
 +
 +==== How do I control visualisation and transformation of datasets ====
 +
 +Visualisation and transformation of datasets are configured through metadata. ​
 +
 +For OGC WMS to be activated for a dataset a section similar to the one below is required.
 +
 +<​code>​
 +  <wmsInfo xmlns:​w="​http://​www.met.no/​schema/​metamod/​ncWmsSetup">​
 +    <​w:​ncWmsSetup url="​%THREDDS_DATAREF%"​ aggregate_url="​http://​thredds.nersc.no/​thredds/​wms/​normap/​arctic25km_seaice_aggr"​ xsi:​schemaLocation="​http://​www.met.no/​schema/​metamod/​ncWmsSetup ncWmsSetup.xsd ">
 +      <​w:​displayArea crs="​EPSG:​32661"​ left="​-1000000"​ right="​5000000"​ bottom="​-1000000"​ top="​5000000"/>​
 +      <w:layer name="​NORSEX"​ style="​BOXFILL/​rainbow"/>​
 +      <w:layer name="​NASA_Team"​ style="​BOXFILL/​rainbow"/>​
 +      <w:layer name="​Bristol"​ style="​BOXFILL/​rainbow"/>​
 +      <w:layer name="​Bootstrap"​ style="​BOXFILL/​rainbow"/>​
 +    </​w:​ncWmsSetup>​
 +  </​wmsInfo>​
 +</​code> ​
 +  ​
 +This section describes the initial view to present and the layers that are available. If the number of layers should be truncated, add ''​maxlayers="​0"''​ to ''​ncWmsSetup'''​. In the displayArea field, coordinate need to be provided in the coordinates of the map projection defined (using EPSG codes).
 +
 +To enable transformation of a gridded dataset, add ''​dataref_OPENDAP''​ to MM2 metadata or edit e.g. dif2MM2.xslt to reflect this variable.
 +
 +If the dataset is not a gridded dataset, but e.g. a timeseries, addition of a MM2 field named ''​timeseries''​ will remove the transform button and add Timeseries and ASCII buttons which are used to visualise a timeseries or download it as ASCII formatted data. The format of the timeseries field is of the form
 +
 +<​code>​
 +<​metadata name="​timeseries">​time,​sea_ice_extent</​metadata>​
 +</​code>​
 +
 +Where the first variable is used as the X axis. The others (up to two) will be plotted on the Y axis.
  
 ==== How do I reinitialise the database? ==== ==== How do I reinitialise the database? ====
metamod/faq.1374162380.txt.gz · Last modified: 2013-07-18 15:46:20 by steingod