Changeset 196 for trunk/docs
- Timestamp:
- 12/27/12 22:28:25 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/docs_dev/source/guides/updatedata.rst
r192 r196 38 38 .. $URL$ 39 39 .. 40 .. 40 .. - fplod 20121227T192052Z cratos.locean-ipsl.upmc.fr (Linux) 41 .. 42 .. * no more need to concatenate /net/adonis/usr/adonis/varclim/tropflux_v2 43 .. : jv made it on 20121221 44 .. 41 45 .. - fplod 20121121T151409Z cratos.locean-ipsl.upmc.fr (Linux) 42 46 .. … … 125 129 126 130 $ datemodif="20120209" 127 128 or::129 130 $ datemodif="20121121"131 131 132 132 $ export datemodif … … 154 154 $ cp -r ${newdir}/monthly /usr/lodyc/incas/fplod/tropflux_d/to_be_published 155 155 156 or157 158 .. parsed-literal::159 160 $ newdir='/net/adonis/usr/adonis/varclim/tropflux_v2'161 $ export newdir162 163 Define the directory where files to be published will be located164 165 ..note::166 This directory should be a backup one like167 :file:`/usr/lodyc/incas/fplod/tropflux_d/`168 169 If there is not enougth space in this directory, do not forget to170 copy the published files as soon as possible in a backup one.171 172 173 $ tbpublisheddir=/usr/work/incas/fplod/tropflux_d/to_be_published/174 $ mkdir -p ${tbpublisheddir}175 $ svn export svn+ssh://pinsard@forge.ipsl.jussieu.fr/ipsl/forge/projets/tropflux/svn/trunk/adm/website/Readme.rst \176 ${tbpublisheddir}/Readme.rst177 $ cp -r ${newdir}/1979_2011/daily ${tbpublisheddir}178 $ cp -r ${newdir}/NRT/daily ${tbpublisheddir}179 $ cp -r ${newdir}/1979_2011/monthly ${tbpublisheddir}180 $ cp -r ${newdir}/NRT/monthly ${tbpublisheddir}181 182 $ cd ${tbpublisheddir}183 $ for var in lhf lwr netflux q2m shf sst swr t2m tau taux taux ws184 do185 nrcat ++ modifier attribut creation_date et time_range ${var}_tropflux_1d_1979_2011.nc ${var}_tropflux_1d_nrt.nc ${var}_tropflux_1d_1979_2012.nc186 done187 $ for var in lhf lwr netflux q2m shf sst swr t2m tau taux taux ws188 do189 nrcat ++ modifier attribut creation_date et time_range ${var}_tropflux_1m_1979_2011.nc ${var}_tropflux_1m_nrt.nc ${var}_tropflux_1m_1979_2012.nc190 done191 192 193 194 195 (here is not the final state ...)196 197 156 .. _compareversion: 198 157 … … 219 178 220 179 $ cd /usr/lodyc/incas/fplod/tropflux_d/ 221 $ mv ./to_be_published/Readme.rst 180 $ mv ./to_be_published/Readme.rst . 181 $ mv ./to_be_published/daily ./ 182 $ mv ./to_be_published/monthly ./ 222 183 $ ln -sf $(pwd)/Readme.rst daily/ 223 184 $ ln -sf $(pwd)/Readme.rst monthly/ 224 $ mv ./to_be_published/daily ./225 $ mv ./to_be_published/monthly ./226 185 227 186 … … 237 196 fplod@sonmac$ ftp www.locean-ipsl.upmc.fr 238 197 ftp> cd |project_id|/data/ 239 ftp> delete README240 198 ftp> mdelete daily/* 241 199 ftp> mdelete monthly/* … … 257 215 ftp> lcd daily 258 216 ftp> mput \*.nc 217 ftp> put ../Readme.rst 259 218 ftp> cd ../monthly 260 ftp> put ../Readme.rst261 219 ftp> lcd ../monthly 262 220 ftp> put ../Readme.rst … … 271 229 272 230 $ diskext="/Volumes/LCerbere" 273 $ sshfs fplod@cerbere:/usr/lodyc/incas/fplod ${diskext} -odefer_permissions 231 $ sshfs fplod@cerbere:/usr/lodyc/incas/fplod ${diskext} -odefer_permissions -o sshfs_debug 274 232 275 233 .. _advertise:
Note: See TracChangeset
for help on using the changeset viewer.