elog2labfolder/importing_from_elog.rst
author weiher
Thu, 11 Jan 2018 12:10:42 +0100
changeset 3 b71be85a294c
child 11 ccfe3c7fa0d2
permissions -rw-r--r--
Initial commit of labfolder at FHI documentation
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
     1
Importing projects from e.g. the ELOGbook to Labfolder at the FHI
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
     2
=================================================================
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
     3
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
     4
The ELOG entries of a certain project need to be exported as *Raw* which looks like this::
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
     5
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
     6
	$@MID@$: 12
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
     7
	Date: Tue, 03 Dec 2013 12:15:14 +0100
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
     8
	Author: Wieland Schöllkopf
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
     9
	Author Email: mailto:wschoell@fhi-berlin.mpg.de
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
    10
	Category: Shift summary
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
    11
	Subject: 1st solid-state experiment with FHI FEL
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
    12
	Severity: DOCU
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
    13
	Keywords:
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
    14
	Record date: 1386069171
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
    15
	Attachment:
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
    16
	Encoding: HTML
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
    17
	========================================
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
    18
	<p>Today Alex Paarmann and Marc Herzog are measuring in the wavelength range from 10 to 20 micron with a 0.5 mm thick GGG (Gadolinium Gallium Garnet, <a title="Gadolinium" href="http://en.wikipedia.org/wiki/Gadolinium">Gd</a><sub>3</sub><a title="Gallium" href="http://en.wikipedia.org/wiki/Gallium">Ga</a><sub>5</sub><a title="Oxygen" href="http://en.wikipedia.org/wiki/Oxygen">O</a><sub>12</sub>). Electron energy is set to 26 MeV.</p>
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
    19
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
    20
This ASCII export looks like this in the ELOG webinterface:
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
    21
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
    22
.. image:: _static/elog_entry.png
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
    23
   :width: 100 %
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
    24
   :align: center
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
    25
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
    26
What is noticeable is that the ELOG export comes with a "ö" instead of an "ö". Interestingly, if only entries done by Wieland are exported the export file has UTF-8 encoding which can actually print German "Umlaute" (ö, ä, ü). If all entries are exported the encoding changes to an encoding that cannot handle e.g. "ö". 
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
    27
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
    28
After importing the above ELOG entry into labfolder this entry appears like that:
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
    29
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
    30
.. image:: _static/entry_after_import.png
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
    31
   :width: 100 %
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
    32
   :align: center
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
    33
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
    34
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
    35
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
    36
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
    37
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
    38
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
    39
b71be85a294c Initial commit of labfolder at FHI documentation
weiher
parents:
diff changeset
    40