Changeset 2078 in lmdz_wrf


Ignore:
Timestamp:
Aug 10, 2018, 8:33:34 PM (7 years ago)
Author:
lfita
Message:

Adding more concrete Nfiles retrieval

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/get_data_snd-sfc_validation.bash

    r2077 r2078  
    112112          ofile=${ofold}/${fHEADn}${fk}_${sndid}_${expn}.nc
    113113          HMT=${fHEADn}${fk}'_,'${sndid}'_'${expn},'nc'
    114           Nfiles=`ls -1 ${ofold}/${fHEADn}${fk}_*${sndid}_${expn}*.nc | wc -l`
     114          Nfiles=`ls -1 ${ofold}/${fHEADn}${fk}_*${sndid}_${expn}_*.nc | wc -l`
    115115          if test ${Nfiles} -gt 1; then
    116116            python ${pyHOME}/nc_var.py -o netcdf_fold_concatenation_HMT -S ${values} \
     
    158158          ofile=${ofold}/${fHEADn}${fk}_${sndid}_${expn}.nc
    159159          HMT=${fHEADn}${fk}'_,'${sndid}'_'${expn},'nc'
    160           Nfiles=`ls -1 ${ofold}/${fHEADn}${fk}_*${sndid}_${expn}*.nc | wc -l`
     160          Nfiles=`ls -1 ${ofold}/${fHEADn}${fk}_*${sndid}_${expn}_*.nc | wc -l`
    161161          if test ${Nfiles} -gt 1; then
    162162            python ${pyHOME}/nc_var.py -o netcdf_fold_concatenation_HMT -S ${values}   \
     
    217217          ofile=${ofold}/${fHEADn}${fk}_${sfcid}_${expn}.nc
    218218          HMT=${fHEADn}${fk}'_,'${sfcid}'_'${expn},'nc'
    219           Nfiles=`ls -1 ${ofold}/${fHEADn}${fk}_*${sfcid}_${expn}*.nc | wc -l`
     219          Nfiles=`ls -1 ${ofold}/${fHEADn}${fk}_*${sfcid}_${expn}_*.nc | wc -l`
    220220          if test ${Nfiles} -gt 0; then
    221221            python ${pyHOME}/nc_var.py -o netcdf_fold_concatenation_HMT -S ${values}   \
     
    263263          ofile=${ofold}/${fHEADn}${fk}_${sfcid}_${expn}.nc
    264264          HMT=${fHEADn}${fk}'_,'${sfcid}'_'${expn},'nc'
    265           Nfiles=`ls -1 ${ofold}/${fHEADn}${fk}_*${sfcid}_${expn}*.nc | wc -l`
     265          Nfiles=`ls -1 ${ofold}/${fHEADn}${fk}_*${sfcid}_${expn}_*.nc | wc -l`
    266266          if test ${Nfiles} -gt 0; then
    267267            python ${pyHOME}/nc_var.py -o netcdf_fold_concatenation_HMT -S ${values}   \
     
    310310        values=${ofold}',Time,time'
    311311        HMT=${fHEADn}${fk}'_,'${expn},'nc'
    312         Nfiles=`ls -1 ${ofold}/${fHEADn}${fk}_*${expn}*.nc | wc -l`
     312        Nfiles=`ls -1 ${ofold}/${fHEADn}${fk}_*${expn}_*.nc | wc -l`
    313313        if test ${Nfiles} -gt 0; then
    314314          python ${pyHOME}/nc_var.py -o netcdf_fold_concatenation_HMT -S ${values}     \
Note: See TracChangeset for help on using the changeset viewer.