Ignore:
Timestamp:
10/16/14 15:05:26 (10 years ago)
Author:
sdipsl
Message:

Use --nocoords to solve #192 and the following issue.
ERROR: nco_inq_varid() reports requested variable "t_inst_02678400" is not defined in file
Due to the fact that we have several time axis sampling in one file... not CF ...

Location:
trunk/libIGCM/libIGCM_sys
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_ada.ksh

    r1073 r1088  
    22232223  i=0 
    22242224  while [ $i -lt $NB_ESSAI ] ; do 
    2225     ncap2 "$@" > /tmp/out_command.$$ 2>&1 
     2225    ncap2 --nocoords "$@" > /tmp/out_command.$$ 2>&1 
    22262226    status=$? 
    22272227    if [ ${status} -gt 0 ] ; then 
     
    23072307  i=0 
    23082308  while [ $i -lt $NB_ESSAI ] ; do 
    2309     ncbo $@ > /tmp/out_command.$$ 2>&1 
     2309    ncbo --nocoords $@ > /tmp/out_command.$$ 2>&1 
    23102310    status=$? 
    23112311    if [ ${status} -gt 0 ] ; then 
     
    23492349  i=0 
    23502350  while [ $i -lt $NB_ESSAI ] ; do 
    2351     ncdiff $@ > /tmp/out_command.$$ 2>&1 
     2351    ncdiff --nocoords $@ > /tmp/out_command.$$ 2>&1 
    23522352    status=$? 
    23532353    if [ ${status} -gt 0 ] ; then 
     
    23912391  i=0 
    23922392  while [ $i -lt $NB_ESSAI ] ; do 
    2393     ncea $@ > /tmp/out_command.$$ 2>&1 
     2393    ncea --nocoords $@ > /tmp/out_command.$$ 2>&1 
    23942394    status=$? 
    23952395    if [ ${status} -gt 0 ] ; then 
     
    24332433  i=0 
    24342434  while [ $i -lt $NB_ESSAI ] ; do 
    2435     ncecat $@ > /tmp/out_command.$$ 2>&1 
     2435    ncecat --nocoords $@ > /tmp/out_command.$$ 2>&1 
    24362436    status=$? 
    24372437    if [ ${status} -gt 0 ] ; then 
     
    24752475  i=0 
    24762476  while [ $i -lt $NB_ESSAI ] ; do 
    2477     ncflint $@ > /tmp/out_command.$$ 2>&1 
     2477    ncflint --nocoords $@ > /tmp/out_command.$$ 2>&1 
    24782478    status=$? 
    24792479    if [ ${status} -gt 0 ] ; then 
     
    25172517  i=0 
    25182518  while [ $i -lt $NB_ESSAI ] ; do 
    2519     ncks $@ > /tmp/out_command.$$ 2>&1 
     2519    ncks --nocoords $@ > /tmp/out_command.$$ 2>&1 
    25202520    status=$? 
    25212521    if [ ${status} -gt 0 ] ; then 
     
    25592559  i=0 
    25602560  while [ $i -lt $NB_ESSAI ] ; do 
    2561     ncpdq $@ > /tmp/out_command.$$ 2>&1 
     2561    ncpdq --nocoords $@ > /tmp/out_command.$$ 2>&1 
    25622562    status=$? 
    25632563    if [ ${status} -gt 0 ] ; then 
     
    26012601  i=0 
    26022602  while [ $i -lt $NB_ESSAI ] ; do 
    2603     ncra $@ > /tmp/out_command.$$ 2>&1 
     2603    ncra --nocoords $@ > /tmp/out_command.$$ 2>&1 
    26042604    status=$? 
    26052605    if [ ${status} -gt 0 ] ; then 
     
    26432643  i=0 
    26442644  while [ $i -lt $NB_ESSAI ] ; do 
    2645     ncrcat $@ > /tmp/out_command.$$ 2>&1 
     2645    ncrcat --nocoords $@ > /tmp/out_command.$$ 2>&1 
    26462646    status=$? 
    26472647    if [ ${status} -gt 0 ] ; then 
     
    27372737  i=0 
    27382738  while [ $i -lt $NB_ESSAI ] ; do 
    2739     ncwa $@ > /tmp/out_command.$$ 2>&1 
     2739    ncwa --nocoords $@ > /tmp/out_command.$$ 2>&1 
    27402740    status=$? 
    27412741    if [ ${status} -gt 0 ] ; then 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_curie.ksh

    r1078 r1088  
    26152615  i=0 
    26162616  while [ $i -lt $NB_ESSAI ] ; do 
    2617     ncap2 "$@" > /tmp/out_command.$$ 2>&1 
     2617    ncap2 --nocoords "$@" > /tmp/out_command.$$ 2>&1 
    26182618    status=$? 
    26192619    if [ ${status} -gt 0 ] ; then 
     
    26992699  i=0 
    27002700  while [ $i -lt $NB_ESSAI ] ; do 
    2701     ncbo $@ > /tmp/out_command.$$ 2>&1 
     2701    ncbo --nocoords $@ > /tmp/out_command.$$ 2>&1 
    27022702    status=$? 
    27032703    if [ ${status} -gt 0 ] ; then 
     
    27412741  i=0 
    27422742  while [ $i -lt $NB_ESSAI ] ; do 
    2743     ncdiff $@ > /tmp/out_command.$$ 2>&1 
     2743    ncdiff --nocoords $@ > /tmp/out_command.$$ 2>&1 
    27442744    status=$? 
    27452745    if [ ${status} -gt 0 ] ; then 
     
    27832783  i=0 
    27842784  while [ $i -lt $NB_ESSAI ] ; do 
    2785     ncea $@ > /tmp/out_command.$$ 2>&1 
     2785    ncea --nocoords $@ > /tmp/out_command.$$ 2>&1 
    27862786    status=$? 
    27872787    if [ ${status} -gt 0 ] ; then 
     
    28252825  i=0 
    28262826  while [ $i -lt $NB_ESSAI ] ; do 
    2827     ncecat $@ > /tmp/out_command.$$ 2>&1 
     2827    ncecat --nocoords $@ > /tmp/out_command.$$ 2>&1 
    28282828    status=$? 
    28292829    if [ ${status} -gt 0 ] ; then 
     
    28672867  i=0 
    28682868  while [ $i -lt $NB_ESSAI ] ; do 
    2869     ncflint $@ > /tmp/out_command.$$ 2>&1 
     2869    ncflint --nocoords $@ > /tmp/out_command.$$ 2>&1 
    28702870    status=$? 
    28712871    if [ ${status} -gt 0 ] ; then 
     
    29092909  i=0 
    29102910  while [ $i -lt $NB_ESSAI ] ; do 
    2911     ncks $@ > /tmp/out_command.$$ 2>&1 
     2911    ncks --nocoords $@ > /tmp/out_command.$$ 2>&1 
    29122912    status=$? 
    29132913    if [ ${status} -gt 0 ] ; then 
     
    29512951  i=0 
    29522952  while [ $i -lt $NB_ESSAI ] ; do 
    2953     ncpdq $@ > /tmp/out_command.$$ 2>&1 
     2953    ncpdq --nocoords $@ > /tmp/out_command.$$ 2>&1 
    29542954    status=$? 
    29552955    if [ ${status} -gt 0 ] ; then 
     
    29932993  i=0 
    29942994  while [ $i -lt $NB_ESSAI ] ; do 
    2995     ncra $@ > /tmp/out_command.$$ 2>&1 
     2995    ncra --nocoords $@ > /tmp/out_command.$$ 2>&1 
    29962996    status=$? 
    29972997    if [ ${status} -gt 0 ] ; then 
     
    30353035  i=0 
    30363036  while [ $i -lt $NB_ESSAI ] ; do 
    3037     ncrcat $@ > /tmp/out_command.$$ 2>&1 
     3037    ncrcat --nocoords $@ > /tmp/out_command.$$ 2>&1 
    30383038    status=$? 
    30393039    if [ ${status} -gt 0 ] ; then 
     
    31293129  i=0 
    31303130  while [ $i -lt $NB_ESSAI ] ; do 
    3131     ncwa $@ > /tmp/out_command.$$ 2>&1 
     3131    ncwa --nocoords $@ > /tmp/out_command.$$ 2>&1 
    31323132    status=$? 
    31333133    if [ ${status} -gt 0 ] ; then 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_default.ksh

    r1064 r1088  
    19701970  i=0 
    19711971  while [ $i -lt $NB_ESSAI ] ; do 
    1972     ncap2 "$@" > /tmp/out_command.$$ 2>&1 
     1972    ncap2 --nocoords "$@" > /tmp/out_command.$$ 2>&1 
    19731973    status=$? 
    19741974    if [ ${status} -gt 0 ] ; then 
     
    20542054  i=0 
    20552055  while [ $i -lt $NB_ESSAI ] ; do 
    2056     ncbo $@ > /tmp/out_command.$$ 2>&1 
     2056    ncbo --nocoords $@ > /tmp/out_command.$$ 2>&1 
    20572057    status=$? 
    20582058    if [ ${status} -gt 0 ] ; then 
     
    20962096  i=0 
    20972097  while [ $i -lt $NB_ESSAI ] ; do 
    2098     ncdiff $@ > /tmp/out_command.$$ 2>&1 
     2098    ncdiff --nocoords $@ > /tmp/out_command.$$ 2>&1 
    20992099    status=$? 
    21002100    if [ ${status} -gt 0 ] ; then 
     
    21382138  i=0 
    21392139  while [ $i -lt $NB_ESSAI ] ; do 
    2140     ncea $@ > /tmp/out_command.$$ 2>&1 
     2140    ncea --nocoords $@ > /tmp/out_command.$$ 2>&1 
    21412141    status=$? 
    21422142    if [ ${status} -gt 0 ] ; then 
     
    21802180  i=0 
    21812181  while [ $i -lt $NB_ESSAI ] ; do 
    2182     ncecat $@ > /tmp/out_command.$$ 2>&1 
     2182    ncecat --nocoords $@ > /tmp/out_command.$$ 2>&1 
    21832183    status=$? 
    21842184    if [ ${status} -gt 0 ] ; then 
     
    22222222  i=0 
    22232223  while [ $i -lt $NB_ESSAI ] ; do 
    2224     ncflint $@ > /tmp/out_command.$$ 2>&1 
     2224    ncflint --nocoords $@ > /tmp/out_command.$$ 2>&1 
    22252225    status=$? 
    22262226    if [ ${status} -gt 0 ] ; then 
     
    22642264  i=0 
    22652265  while [ $i -lt $NB_ESSAI ] ; do 
    2266     ncks $@ > /tmp/out_command.$$ 2>&1 
     2266    ncks --nocoords $@ > /tmp/out_command.$$ 2>&1 
    22672267    status=$? 
    22682268    if [ ${status} -gt 0 ] ; then 
     
    23062306  i=0 
    23072307  while [ $i -lt $NB_ESSAI ] ; do 
    2308     ncpdq $@ > /tmp/out_command.$$ 2>&1 
     2308    ncpdq --nocoords $@ > /tmp/out_command.$$ 2>&1 
    23092309    status=$? 
    23102310    if [ ${status} -gt 0 ] ; then 
     
    23482348  i=0 
    23492349  while [ $i -lt $NB_ESSAI ] ; do 
    2350     ncra $@ > /tmp/out_command.$$ 2>&1 
     2350    ncra --nocoords $@ > /tmp/out_command.$$ 2>&1 
    23512351    status=$? 
    23522352    if [ ${status} -gt 0 ] ; then 
     
    23902390  i=0 
    23912391  while [ $i -lt $NB_ESSAI ] ; do 
    2392     ncrcat $@ > /tmp/out_command.$$ 2>&1 
     2392    ncrcat --nocoords $@ > /tmp/out_command.$$ 2>&1 
    23932393    status=$? 
    23942394    if [ ${status} -gt 0 ] ; then 
     
    24842484  i=0 
    24852485  while [ $i -lt $NB_ESSAI ] ; do 
    2486     ncwa $@ > /tmp/out_command.$$ 2>&1 
     2486    ncwa --nocoords $@ > /tmp/out_command.$$ 2>&1 
    24872487    status=$? 
    24882488    if [ ${status} -gt 0 ] ; then 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_iitm.ksh

    r1064 r1088  
    19181918  i=0 
    19191919  while [ $i -lt $NB_ESSAI ] ; do 
    1920     ncap2 "$@" > /tmp/out_command.$$ 2>&1 
     1920    ncap2 --nocoords "$@" > /tmp/out_command.$$ 2>&1 
    19211921    status=$? 
    19221922    if [ ${status} -gt 0 ] ; then 
     
    20022002  i=0 
    20032003  while [ $i -lt $NB_ESSAI ] ; do 
    2004     ncbo $@ > /tmp/out_command.$$ 2>&1 
     2004    ncbo --nocoords $@ > /tmp/out_command.$$ 2>&1 
    20052005    status=$? 
    20062006    if [ ${status} -gt 0 ] ; then 
     
    20442044  i=0 
    20452045  while [ $i -lt $NB_ESSAI ] ; do 
    2046     ncdiff $@ > /tmp/out_command.$$ 2>&1 
     2046    ncdiff --nocoords $@ > /tmp/out_command.$$ 2>&1 
    20472047    status=$? 
    20482048    if [ ${status} -gt 0 ] ; then 
     
    20862086  i=0 
    20872087  while [ $i -lt $NB_ESSAI ] ; do 
    2088     ncea $@ > /tmp/out_command.$$ 2>&1 
     2088    ncea --nocoords $@ > /tmp/out_command.$$ 2>&1 
    20892089    status=$? 
    20902090    if [ ${status} -gt 0 ] ; then 
     
    21282128  i=0 
    21292129  while [ $i -lt $NB_ESSAI ] ; do 
    2130     ncecat $@ > /tmp/out_command.$$ 2>&1 
     2130    ncecat --nocoords $@ > /tmp/out_command.$$ 2>&1 
    21312131    status=$? 
    21322132    if [ ${status} -gt 0 ] ; then 
     
    21702170  i=0 
    21712171  while [ $i -lt $NB_ESSAI ] ; do 
    2172     ncflint $@ > /tmp/out_command.$$ 2>&1 
     2172    ncflint --nocoords $@ > /tmp/out_command.$$ 2>&1 
    21732173    status=$? 
    21742174    if [ ${status} -gt 0 ] ; then 
     
    22122212  i=0 
    22132213  while [ $i -lt $NB_ESSAI ] ; do 
    2214     ncks $@ > /tmp/out_command.$$ 2>&1 
     2214    ncks --nocoords $@ > /tmp/out_command.$$ 2>&1 
    22152215    status=$? 
    22162216    if [ ${status} -gt 0 ] ; then 
     
    22542254  i=0 
    22552255  while [ $i -lt $NB_ESSAI ] ; do 
    2256     ncpdq $@ > /tmp/out_command.$$ 2>&1 
     2256    ncpdq --nocoords $@ > /tmp/out_command.$$ 2>&1 
    22572257    status=$? 
    22582258    if [ ${status} -gt 0 ] ; then 
     
    22962296  i=0 
    22972297  while [ $i -lt $NB_ESSAI ] ; do 
    2298     ncra $@ > /tmp/out_command.$$ 2>&1 
     2298    ncra --nocoords $@ > /tmp/out_command.$$ 2>&1 
    22992299    status=$? 
    23002300    if [ ${status} -gt 0 ] ; then 
     
    23382338  i=0 
    23392339  while [ $i -lt $NB_ESSAI ] ; do 
    2340     ncrcat $@ > /tmp/out_command.$$ 2>&1 
     2340    ncrcat --nocoords $@ > /tmp/out_command.$$ 2>&1 
    23412341    status=$? 
    23422342    if [ ${status} -gt 0 ] ; then 
     
    24322432  i=0 
    24332433  while [ $i -lt $NB_ESSAI ] ; do 
    2434     ncwa $@ > /tmp/out_command.$$ 2>&1 
     2434    ncwa --nocoords $@ > /tmp/out_command.$$ 2>&1 
    24352435    status=$? 
    24362436    if [ ${status} -gt 0 ] ; then 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_obelix.ksh

    r1063 r1088  
    19981998  i=0 
    19991999  while [ $i -lt $NB_ESSAI ] ; do 
    2000     ncap2 "$@" > /tmp/out_command_${LOGIN}.$$ 2>&1 
     2000    ncap2 --nocoords "$@" > /tmp/out_command_${LOGIN}.$$ 2>&1 
    20012001    status=$? 
    20022002    if [ ${status} -gt 0 ] ; then 
     
    20822082  i=0 
    20832083  while [ $i -lt $NB_ESSAI ] ; do 
    2084     ncbo $@ > /tmp/out_command_${LOGIN}.$$ 2>&1 
     2084    ncbo --nocoords $@ > /tmp/out_command_${LOGIN}.$$ 2>&1 
    20852085    status=$? 
    20862086    if [ ${status} -gt 0 ] ; then 
     
    21242124  i=0 
    21252125  while [ $i -lt $NB_ESSAI ] ; do 
    2126     ncdiff $@ > /tmp/out_command_${LOGIN}.$$ 2>&1 
     2126    ncdiff --nocoords $@ > /tmp/out_command_${LOGIN}.$$ 2>&1 
    21272127    status=$? 
    21282128    if [ ${status} -gt 0 ] ; then 
     
    21662166  i=0 
    21672167  while [ $i -lt $NB_ESSAI ] ; do 
    2168     ncea $@ > /tmp/out_command_${LOGIN}.$$ 2>&1 
     2168    ncea --nocoords $@ > /tmp/out_command_${LOGIN}.$$ 2>&1 
    21692169    status=$? 
    21702170    if [ ${status} -gt 0 ] ; then 
     
    22082208  i=0 
    22092209  while [ $i -lt $NB_ESSAI ] ; do 
    2210     ncecat $@ > /tmp/out_command_${LOGIN}.$$ 2>&1 
     2210    ncecat --nocoords $@ > /tmp/out_command_${LOGIN}.$$ 2>&1 
    22112211    status=$? 
    22122212    if [ ${status} -gt 0 ] ; then 
     
    22502250  i=0 
    22512251  while [ $i -lt $NB_ESSAI ] ; do 
    2252     ncflint $@ > /tmp/out_command_${LOGIN}.$$ 2>&1 
     2252    ncflint --nocoords $@ > /tmp/out_command_${LOGIN}.$$ 2>&1 
    22532253    status=$? 
    22542254    if [ ${status} -gt 0 ] ; then 
     
    22922292  i=0 
    22932293  while [ $i -lt $NB_ESSAI ] ; do 
    2294     ncks $@ > /tmp/out_command_${LOGIN}.$$ 2>&1 
     2294    ncks --nocoords $@ > /tmp/out_command_${LOGIN}.$$ 2>&1 
    22952295    status=$? 
    22962296    if [ ${status} -gt 0 ] ; then 
     
    23342334  i=0 
    23352335  while [ $i -lt $NB_ESSAI ] ; do 
    2336     ncpdq $@ > /tmp/out_command_${LOGIN}.$$ 2>&1 
     2336    ncpdq --nocoords $@ > /tmp/out_command_${LOGIN}.$$ 2>&1 
    23372337    status=$? 
    23382338    if [ ${status} -gt 0 ] ; then 
     
    23762376  i=0 
    23772377  while [ $i -lt $NB_ESSAI ] ; do 
    2378     ncra $@ > /tmp/out_command_${LOGIN}.$$ 2>&1 
     2378    ncra --nocoords $@ > /tmp/out_command_${LOGIN}.$$ 2>&1 
    23792379    status=$? 
    23802380    if [ ${status} -gt 0 ] ; then 
     
    24182418  i=0 
    24192419  while [ $i -lt $NB_ESSAI ] ; do 
    2420     ncrcat $@ > /tmp/out_command_${LOGIN}.$$ 2>&1 
     2420    ncrcat --nocoords $@ > /tmp/out_command_${LOGIN}.$$ 2>&1 
    24212421    status=$? 
    24222422    if [ ${status} -gt 0 ] ; then 
     
    25122512  i=0 
    25132513  while [ $i -lt $NB_ESSAI ] ; do 
    2514     ncwa $@ > /tmp/out_command_${LOGIN}.$$ 2>&1 
     2514    ncwa --nocoords $@ > /tmp/out_command_${LOGIN}.$$ 2>&1 
    25152515    status=$? 
    25162516    if [ ${status} -gt 0 ] ; then 
Note: See TracChangeset for help on using the changeset viewer.