Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
metamod:faq [2010-09-27 19:00:48]
steingod
metamod:faq [2012-09-03 12:13:05]
steingod [File formats]
Line 76: Line 76:
 ==== How do I remove datasets? ==== ==== How do I remove datasets? ====
  
-FIXME+The best solution is to use the administration interface (require login and appropriate user rights) and the "Dataset manager". Within this interface datasets can be deactivated. they will still be in the database, but will be invisible. Sometimes conflicts between datasets may arise (due to naming conventions) which may require a full reinitialisation of the database. If a dataset is to be permanently removed, remove the XML and XMD files from the webrun directory and follow the steps under [[#How do I reinitialise the database?]]. This require access to the webrun directory at the server running METAMOD.
  
 ==== How do I change metadata? ==== ==== How do I change metadata? ====
  
-FIXME+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!  
 + 
 +==== How do I reinitialise the database? ==== 
 + 
 +Use the following recipe (information in <> to be substituted as appropriate): 
 + 
 +  - sudo /etc/init.d/metamodServices-<implementation> stop 
 +  - sudo /etc/init.d/catalyst-<implementation> stop 
 +  - sudo -u <web server owner> <implementation directory>/base/init/create_and_load_all.sh <configuration directory> 
 +  - sudo /etc/init.d/metamodServices-<implementation> start 
 +  - sudo /etc/init.d/catalyst-<implementation> start 
  
 ===== Metadata exchange ===== ===== Metadata exchange =====
Line 193: Line 206:
  
 ===== File formats ===== ===== File formats =====
 +
 +==== File formats relevance for METAMOD ====
 +
 +METAMOD is essentially agnostic concerning file formats. However, [[#NetCDF/CF|as mentioned below]], METAMOD has extended support for data uploaded as NetCDF/CF following the requirements of METAMOD.
 +
 +Basically METAMOD can relate to any file as long as the metadata are created manually and uploaded, but metadata can be extracted automatically from NetCDF/CF files. 
  
 ==== NetCDF/CF ==== ==== NetCDF/CF ====
Line 283: Line 302:
  
 One possible cause can be that there is a conflict between users. Please remember that all scripts and processes has to be run under the user that owns the web server (e.g. www-user or www-data). If this is not the case, try removing the ''webrun'' directory and reinstall everything using ''sudo -u <user> ...''. One possible cause can be that there is a conflict between users. Please remember that all scripts and processes has to be run under the user that owns the web server (e.g. www-user or www-data). If this is not the case, try removing the ''webrun'' directory and reinstall everything using ''sudo -u <user> ...''.
 +
 +Another possible cause is that the XML-information is inconsistent/incomplete. If metadata files has been added manually, check that they are consistent (e.g. using [[http://xmlsoft.org/xmllint.html|xmllint]] or similar tools) prior to import. Furthermore, in the current version each XML-file has to be accompanied by a XMD-file providing additional information on data sources and metadata organisation. If this is absent, metadata are not processed for import. Check the log in the webrun directory for details.
  
 ==== Why is METAMOD not showing the data I uploaded? ==== ==== Why is METAMOD not showing the data I uploaded? ====
  
 One possible cause can be that the dataset tag is not correct. Check the contents of the ''master_config.txt'' and especially elements ''DATASET_TAGS'', ''UPLOAD_OWNERTAG'', ''QUEST_OWNERTAG'', and ''PMH_EXPORT_TAGS'' for consistency. One possible cause can be that the dataset tag is not correct. Check the contents of the ''master_config.txt'' and especially elements ''DATASET_TAGS'', ''UPLOAD_OWNERTAG'', ''QUEST_OWNERTAG'', and ''PMH_EXPORT_TAGS'' for consistency.
 +
 +See [[#Why is METAMOD not including the XML-information located in the webrun directory?]] as well.
  • metamod/faq.txt
  • Last modified: 2022-05-31 09:29:32
  • (external edit)