Changeset 240 for trunk/MESOSCALE/LMD_MM_MARS
- Timestamp:
- Jul 22, 2011, 9:46:21 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MESOSCALE/LMD_MM_MARS/makemeso
r239 r240 538 538 *) echo not yet supported ; exit ;; 539 539 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}) 542 544 if [[ ${restex} != 0 || ${restey} != 0 ]] 543 545 then … … 546 548 exit 547 549 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}) 550 552 physz=$(expr ${level} - 1) 551 553
Note: See TracChangeset
for help on using the changeset viewer.