Changeset 196 for trunk/docs


Ignore:
Timestamp:
12/27/12 22:28:25 (11 years ago)
Author:
pinsard
Message:

minor update for data desimination

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/docs_dev/source/guides/updatedata.rst

    r192 r196  
    3838.. $URL$ 
    3939.. 
    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.. 
    4145.. - fplod 20121121T151409Z cratos.locean-ipsl.upmc.fr (Linux) 
    4246.. 
     
    125129 
    126130   $ datemodif="20120209" 
    127  
    128 or:: 
    129  
    130    $ datemodif="20121121" 
    131131 
    132132   $ export datemodif 
     
    154154   $ cp -r ${newdir}/monthly /usr/lodyc/incas/fplod/tropflux_d/to_be_published 
    155155 
    156 or  
    157  
    158 .. parsed-literal:: 
    159  
    160    $ newdir='/net/adonis/usr/adonis/varclim/tropflux_v2' 
    161    $ export newdir 
    162  
    163 Define the directory where files to be published will be located 
    164  
    165 ..note:: 
    166    This directory should be a backup one like 
    167    :file:`/usr/lodyc/incas/fplod/tropflux_d/` 
    168  
    169    If there is not enougth space in this directory, do not forget to  
    170    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.rst 
    177    $ 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 ws 
    184      do 
    185         nrcat ++ modifier attribut creation_date et time_range ${var}_tropflux_1d_1979_2011.nc ${var}_tropflux_1d_nrt.nc ${var}_tropflux_1d_1979_2012.nc 
    186      done 
    187    $ for var in lhf lwr netflux q2m shf sst swr t2m tau taux taux ws 
    188      do 
    189         nrcat ++ modifier attribut creation_date et time_range ${var}_tropflux_1m_1979_2011.nc ${var}_tropflux_1m_nrt.nc ${var}_tropflux_1m_1979_2012.nc 
    190      done 
    191  
    192  
    193  
    194  
    195 (here is not the final state ...) 
    196  
    197156.. _compareversion: 
    198157 
     
    219178 
    220179   $ 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 ./ 
    222183   $ ln -sf $(pwd)/Readme.rst daily/ 
    223184   $ ln -sf $(pwd)/Readme.rst monthly/ 
    224    $ mv ./to_be_published/daily ./ 
    225    $ mv ./to_be_published/monthly ./ 
    226185 
    227186 
     
    237196   fplod@sonmac$ ftp www.locean-ipsl.upmc.fr 
    238197   ftp> cd |project_id|/data/ 
    239    ftp> delete README 
    240198   ftp> mdelete daily/* 
    241199   ftp> mdelete monthly/* 
     
    257215   ftp> lcd daily 
    258216   ftp> mput \*.nc 
     217   ftp> put ../Readme.rst 
    259218   ftp> cd ../monthly 
    260    ftp> put ../Readme.rst 
    261219   ftp> lcd ../monthly 
    262220   ftp> put ../Readme.rst 
     
    271229 
    272230      $ 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 
    274232 
    275233.. _advertise: 
Note: See TracChangeset for help on using the changeset viewer.