Ignore:
Timestamp:
Jul 22, 2011, 9:46:21 AM (13 years ago)
Author:
aslmd
Message:

MESOSCALE: corrected a bug in the previous commit in makemeso, works now fine. added anomaly calculations in python interface + better treatment for output; default is now GUI where one can zoom etc... and further explore the plotted field

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MESOSCALE/LMD_MM_MARS/makemeso

    r239 r240  
    538538      *) echo not yet supported ; exit ;;
    539539  esac
    540   restex=$(expr ${physx}%${divx})   
    541   restey=$(expr ${physy}%${divy})
     540  physx=$(expr ${lon} - 1)
     541  restex=$(expr ${physx} \% ${divx})   
     542  physy=$(expr ${lat} - 1)
     543  restey=$(expr ${physy} \% ${divy})
    542544  if [[ ${restex} != 0 || ${restey} != 0 ]]
    543545  then
     
    546548     exit
    547549  fi
    548   physx=$(expr ${lon} - 1) ; physx=$(expr ${physx} \/ ${divx})
    549   physy=$(expr ${lat} - 1) ; physy=$(expr ${physy} \/ ${divy})
     550  physx=$(expr ${physx} \/ ${divx})
     551  physy=$(expr ${physy} \/ ${divy})
    550552  physz=$(expr ${level} - 1)
    551553
Note: See TracChangeset for help on using the changeset viewer.