Changeset 203 for trunk/docs/docs_dev/source/guides/updatedata
- Timestamp:
- 02/11/14 18:41:24 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/docs_dev/source/guides/updatedata/updatedata_20130725.rst
r202 r203 45 45 :file:`${PROJECT}/adm/website/data_access.rst` 46 46 :file:`${PROJECT}/adm/website/overview.rst` 47 :file:`${PROJECT}/adm/website/Readme.rst` 47 :file:`${PROJECT}/adm/website/Readme.rst` 48 48 :file:`${PROJECT}/adm/website/_templates/layout.html` 49 49 … … 55 55 .. parsed-literal:: 56 56 57 $datemodif="20130725"58 59 $export datemodif60 $cd /usr/lodyc/incas/fplod/tropflux_d/61 $mkdir obsolete_${datemodif}62 63 .. parsed-literal:: 64 65 $mv Readme.rst obsolete_${datemodif}66 $mv ./daily obsolete_${datemodif}67 $mv ./monthly obsolete_${datemodif}57 datemodif="20130725" 58 59 export datemodif 60 cd /usr/lodyc/incas/fplod/tropflux_d/ 61 mkdir obsolete_${datemodif} 62 63 .. parsed-literal:: 64 65 mv Readme.rst obsolete_${datemodif} 66 mv ./daily obsolete_${datemodif} 67 mv ./monthly obsolete_${datemodif} 68 68 69 69 .. _copynew1_20130725: … … 74 74 .. parsed-literal:: 75 75 76 $mkdir /usr/lodyc/incas/fplod/tropflux_d/to_be_published77 $newdir='/net/adonis/usr/adonis/varclim/tropflux_v2'78 $export newdir76 mkdir /usr/lodyc/incas/fplod/tropflux_d/to_be_published 77 newdir='/net/adonis/usr/adonis/varclim/tropflux_v2' 78 export newdir 79 79 80 80 Is there enought space ? 81 81 82 ::83 84 $du -sh ${newdir}/daily82 .. parsed-literal:: 83 84 du -sh ${newdir}/daily 85 85 12G /net/adonis/usr/adonis/varclim/tropflux_v2/daily 86 $du -sh ${newdir}/monthly86 du -sh ${newdir}/monthly 87 87 396M /net/adonis/usr/adonis/varclim/tropflux_v2/monthly 88 $df -h /usr/lodyc/incas/fplod/tropflux_d/to_be_published88 df -h /usr/lodyc/incas/fplod/tropflux_d/to_be_published 89 89 Filesystem Size Used Avail Use% Mounted on 90 90 fslodyc:/usr/.lodyc 1.6T 1.6T 20G 99% /.autofs/lodyc … … 92 92 20GB vs 12.4 GB = yes 93 93 94 then, copy :: 95 96 $ cp ${PROJECT}/adm/website/Readme.rst /usr/lodyc/incas/fplod/tropflux_d/to_be_published/Readme.rst 97 $ cp -r ${newdir}/daily /usr/lodyc/incas/fplod/tropflux_d/to_be_published 98 $ cp -r ${newdir}/monthly /usr/lodyc/incas/fplod/tropflux_d/to_be_published 94 then, copy : 95 96 .. parsed-literal:: 97 98 cp ${PROJECT}/adm/website/Readme.rst /usr/lodyc/incas/fplod/tropflux_d/to_be_published/Readme.rst 99 cp -r ${newdir}/daily /usr/lodyc/incas/fplod/tropflux_d/to_be_published 100 cp -r ${newdir}/monthly /usr/lodyc/incas/fplod/tropflux_d/to_be_published 99 101 100 102 .. _compareversion_20130725: … … 108 110 see draft tool :ref:`compare.sh` 109 111 110 ::112 .. parsed-literal:: 111 113 112 114 log=${PROJECT_LOG}/compare.log … … 119 121 First check expected equality for data: 120 122 121 ::123 .. parsed-literal:: 122 124 123 125 grep "records differ" ${log} … … 130 132 On creation_date 131 133 132 ::134 .. parsed-literal:: 133 135 134 136 grep "^>" ${log} | grep creation_date … … 138 140 It is what happened in this 20130725 data update, so: 139 141 140 ::142 .. parsed-literal:: 141 143 142 144 change_creation_date.sh -d /usr/lodyc/incas/fplod/tropflux_d/to_be_published/ -c 20130725 … … 145 147 146 148 On time_range 147 :: 149 150 .. parsed-literal:: 148 151 149 152 grep "^>" ${log} | grep time_range 150 153 154 155 151 156 If nothing appears, you must modified this attributes. see :ref:`change_time_range.sh` 152 157 153 It is what happened in this 20130725 data update, so:: 158 It is what happened in this 20130725 data update, so: 159 160 .. parsed-literal:: 154 161 155 162 change_time_range.sh -d /usr/lodyc/incas/fplod/tropflux_d/to_be_published/ -b 19790101 -e 20130331 163 156 164 tlogd.sh change_time_range 157 165 158 Clean comparison log file:: 166 Clean comparison log file: 167 168 .. parsed-literal:: 159 169 160 170 rm ${log} … … 162 172 Correct terminology if still necessary: 163 173 164 ::165 166 correct_terminology.sh -d /usr/lodyc/incas/fplod/tropflux_d/to_be_published/ -good "1979_2013" -bad "1979_march2013"167 tlogd.sh correct_terminology174 .. parsed-literal:: 175 176 correct_terminology.sh -d /usr/lodyc/incas/fplod/tropflux_d/to_be_published/ -good "1979_2013" -bad "1979_march2013" 177 tlogd.sh correct_terminology 168 178 169 179 If modifications has been made, re-run comparison (go back to … … 181 191 .. parsed-literal:: 182 192 183 $ cd /usr/lodyc/incas/fplod/tropflux_d/ 184 $ mv ./to_be_published/Readme.rst . 185 $ mv ./to_be_published/daily ./ 186 $ mv ./to_be_published/monthly ./ 187 $ ln -sf $(pwd)/Readme.rst daily/ 188 $ ln -sf $(pwd)/Readme.rst monthly/ 189 193 cd /usr/lodyc/incas/fplod/tropflux_d/ 194 mv ./to_be_published/Readme.rst . 195 mv ./to_be_published/daily ./ 196 mv ./to_be_published/monthly ./ 197 ln -sf $(pwd)/Readme.rst daily/ 198 ln -sf $(pwd)/Readme.rst monthly/ 190 199 191 200 .. _desinstalldata_20130725: … … 242 251 243 252 244 Files in :file:`${PROJECT}/adm/website/` have been modified to tell the new time coverage so 253 Files in :file:`${PROJECT}/adm/website/` have been modified to tell the new time coverage so 245 254 see also :ref:`builddoc` to synchronize dataset and documentation 246 255
Note: See TracChangeset
for help on using the changeset viewer.