Discussion:Serveur d'exploration sur la grippe en France
De Wicri Santé
Révision datée du 7 juillet 2020 à 16:16 par imported>Jacques Ducloy (→Génération)
Génération
NlmPubMedExplorCorpus -q "(influenza) AND (france[MeSH Terms])" -s 2000 -d GrippeFranceV1
tar -cvf GrippeFranceV1.tar GrippeFranceV1
gzip GrippeFranceV1.tar
scp GrippeFranceV1.tar.gz $ISTEX_SCP:$WICRI_TARGET_ROOT/Sante/explor/GrippeFrance.storage
- Sur la machine lorexplor
gunzip GrippeFranceV1.tar.gz
tar -xvf GrippeFranceV1.tar
gzip GrippeFranceV1.tar
Génération des cartes
EXPLOR_AREA=$WICRI_ROOT/Sante/explor/GrippeFrance.storage/GrippeFranceV1
export EXPLOR_AREA
export LC_ALL='C'
MediaWikiExportCommand -c fileBegin > $EXPLOR_AREA/exportMapsFrance.xml
HfdCat $EXPLOR_AREA/Data/Main/Exploration/AffRegion.i.hfd \
| SxmlCut idx/l \
| MediaWikiGeoStatMap -o w -g $DILIB_ROOT/Data/Wicri/Canada/localisationProvincesCanada.dict \
-m Canada -f "Canada location map.svg" -s 650 \
-a GrippeCanadaV3 -t "Carte Provinces Canada" \
-h https://lorexplor.istex.fr/Wicri/Sante/explor \
>> $EXPLOR_AREA/exportMapsCanada.xml
MediaWikiExportCommand -c fileEnd >> $EXPLOR_AREA/exportMapsCanada.xml