Discussion:Serveur d'exploration sur la grippe en Allemagne/Version 3
De Wicri Santé
< Discussion:Serveur d'exploration sur la grippe en Allemagne
Révision datée du 7 juillet 2020 à 11:52 par imported>Jacques Ducloy (→Génération)
Génération
NlmPubMedExplorCorpus -q "(influenza) AND (germany[MeSH Terms])" -s 2000 -d GrippeAllemagneV3
tar -cvf GrippeAllemagneV3.tar GrippeAllemagneV3
gzip GrippeAllemagneV3.tar
scp GrippeAllemagneV3.tar.gz $ISTEX_SCP:$WICRI_TARGET_ROOT/Sante/explor/GrippeAllemagne.storage
- Sur la machine lorexplor
gunzip GrippeAllemagneV3.tar.gz
tar -xvf GrippeAllemagneV3.tar
gzip GrippeAllemagneV3.tar
<source>
===Génération des cartes===
<source lang="sh">
EXPLOR_AREA=$WICRI_ROOT/Sante/explor/GrippeAllemagne.storage/GrippeAllemagneV2
export EXPLOR_AREA
export LC_ALL='C'
MediaWikiExportCommand -c fileBegin > $EXPLOR_AREA/exportMapsGermany.xml
HfdCat $EXPLOR_AREA/Data/Main/Exploration/AffRegion.i.hfd \
| SxmlCut idx/l \
| MediaWikiGeoStatMap -o w -g $DILIB/data/Wicri/Allemagne/localisationLandsAllemagne.dict \
-m Allemagne -f "Germany location map.svg" -s 650 \
-a GrippeAllemagneV2 -t "Carte Allemagne Lands" \
-h https://lorexplor.istex.fr/Wicri/Sante/explor \
>> $EXPLOR_AREA/exportMapsGermany.xml
HfdCat $EXPLOR_AREA/Data/Main/Exploration/AffRegion.i.hfd \
| SxmlCut idx/l \
| MediaWikiGeoStatMap -o w -g $DILIB/data/Wicri/Allemagne/localisationRegionAllemagneNuts2.dict \
-m Allemagne -f "Germany (+districts) location map.svg" -s 650 \
-a GrippeAllemagneV2 -t "Carte Allemagne NUTS2" \
-h https://lorexplor.istex.fr/Wicri/Sante/explor \
>> $EXPLOR_AREA/exportMapsGermany.xml
MediaWikiExportCommand -c fileEnd >> $EXPLOR_AREA/exportMapsGermany.xml