User Tools

Site Tools


other:esgf:misc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

other:esgf:misc [2016/09/09 11:57] – created jypeterother:esgf:misc [2016/09/20 16:35] (current) – Improved steps in case there are several variables to process jypeter
Line 9: Line 9:
   * ''tcsh'' shell, in order to use ''foreach''   * ''tcsh'' shell, in order to use ''foreach''
  
-<code> $ cd /prodigfs/esgf/mirror/CMIP5/output1/IPSL/IPSL-CM5A-LR/past1000/mon/atmos/Amon/r1i1p1/v20120804/pr/+<code> $ cd /prodigfs/esgf/mirror/CMIP5/output1/IPSL/IPSL-CM5A-LR/past1000/mon/atmos/Amon/r1i1p1/v20120804/
  
- $ ls -lh pr_*.nc+ $ ls -lh pr/pr_*.nc
   85M Aug  2  2012 pr_Amon_IPSL-CM5A-LR_past1000_r1i1p1_085001-104912.nc   85M Aug  2  2012 pr_Amon_IPSL-CM5A-LR_past1000_r1i1p1_085001-104912.nc
   85M Aug  2  2012 pr_Amon_IPSL-CM5A-LR_past1000_r1i1p1_105001-124912.nc   85M Aug  2  2012 pr_Amon_IPSL-CM5A-LR_past1000_r1i1p1_105001-124912.nc
Line 19: Line 19:
  446K Aug  2  2012 pr_Amon_IPSL-CM5A-LR_past1000_r1i1p1_185001-185012.nc  446K Aug  2  2012 pr_Amon_IPSL-CM5A-LR_past1000_r1i1p1_185001-185012.nc
  
- $ mkdir /data/jypmce/Scratch/EasterIsland+ $ mkdir -p /data/jypmce/Scratch/EasterIsland/Tmp/pr
  
- $ foreach f ( pr_*.nc )+ $ foreach f ( pr/pr_*.nc )
   foreach? echo $f   foreach? echo $f
-  foreach? ncks -dlat,-35.,-20. -dlon,242.,258. $f /data/jypmce/Scratch/EasterIsland/$f:r-Z02.nc+  foreach? ncks -dlat,-35.,-20. -dlon,242.,258. $f /data/jypmce/Scratch/EasterIsland/Tmp/$f:r-Z02.nc
   foreach? end   foreach? end
-    pr_Amon_IPSL-CM5A-LR_past1000_r1i1p1_085001-104912.nc +    pr/pr_Amon_IPSL-CM5A-LR_past1000_r1i1p1_085001-104912.nc 
-    pr_Amon_IPSL-CM5A-LR_past1000_r1i1p1_105001-124912.nc +    pr/pr_Amon_IPSL-CM5A-LR_past1000_r1i1p1_105001-124912.nc 
-    pr_Amon_IPSL-CM5A-LR_past1000_r1i1p1_125001-144912.nc +    pr/pr_Amon_IPSL-CM5A-LR_past1000_r1i1p1_125001-144912.nc 
-    pr_Amon_IPSL-CM5A-LR_past1000_r1i1p1_145001-164912.nc +    pr/pr_Amon_IPSL-CM5A-LR_past1000_r1i1p1_145001-164912.nc 
-    pr_Amon_IPSL-CM5A-LR_past1000_r1i1p1_165001-184912.nc +    pr/pr_Amon_IPSL-CM5A-LR_past1000_r1i1p1_165001-184912.nc 
-    pr_Amon_IPSL-CM5A-LR_past1000_r1i1p1_185001-185012.nc+    pr/pr_Amon_IPSL-CM5A-LR_past1000_r1i1p1_185001-185012.nc
  
- $ cd /data/jypmce/Scratch/EasterIsland+ $ cd /data/jypmce/Scratch/EasterIsland/Tmp/pr
  
  $ ls -lh pr_*Z02.nc  $ ls -lh pr_*Z02.nc
other/esgf/misc.1473415074.txt.gz · Last modified: 2016/09/09 11:57 by jypeter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki