Changeset 240 for trunk/SRC/Grid
- Timestamp:
- 03/28/07 14:17:24 (17 years ago)
- Location:
- trunk/SRC/Grid
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Grid/computegrid.pro
r238 r240 608 608 ; check that xtest is now sorted in the increasing order 609 609 IF array_equal(sort(xtest), lindgen(jpi)) EQ 0 THEN BEGIN 610 print, 'WARNING: we cannot sort the xaxis with a simple shift...'611 print, 'we force key_periodic = 0 and key_shift = 0'612 print, 'only horizontal plot may be ok...'610 ras = report(['WARNING: we cannot sort the xaxis with a simple shift...', $ 611 'we force key_periodic = 0 and key_shift = 0', $ 612 'only horizontal plot may be ok...']) 613 613 key_periodic = 0 614 614 xnotsorted = 1 -
trunk/SRC/Grid/micromeshmask.pro
r238 r240 69 69 filein_msk = (findfile(filein+'.mask.nc'))[0] 70 70 IF filein_hgr EQ '' OR filein_zgr EQ '' OR filein_msk EQ '' THEN BEGIN 71 ras = report( 'meshmask file(s) not found...')72 ras = report( filein+' does not exist')73 ras = report( filein+'.mesh_hgr.nc does not exist')74 ras = report( filein+'.mesh_zgr.nc does not exist')75 ras = report( filein+'.mask.nc does not exist')71 ras = report(['meshmask file(s) not found...', $ 72 filein+' does not exist', $ 73 filein+'.mesh_hgr.nc does not exist', $ 74 filein+'.mesh_zgr.nc does not exist', $ 75 filein+'.mask.nc does not exist']) 76 76 return 77 77 ENDIF -
trunk/SRC/Grid/ncdf_meshread.pro
r232 r240 101 101 tempsun = systime(1) ; for key_performance 102 102 IF keyword_set(CHECKDAT) THEN BEGIN 103 print, ' The keyword CHECKDAT has been suppressed (it could create bugs).'104 print, ' Remove it from the call of ncdf_meshread'105 print, ' Please use smallmeshmask.pro or micromeshmask.pro to create a'106 print, ' meshmask that has manageable size'103 ras = report([' The keyword CHECKDAT has been suppressed (it could create bugs).', $ 104 ' Remove it from the call of ncdf_meshread', $ 105 ' Please use smallmeshmask.pro or micromeshmask.pro to create a', $ 106 ' meshmask that has manageable size']) 107 107 return 108 108 ENDIF … … 218 218 ; 219 219 IF array_equal(sort(xaxis), lindgen(jpi)) NE 1 THEN BEGIN 220 print, 'the x axis (1st line of glamt) is not sorted in the increasing order after the automatic definition of key_shift'221 print, 'please use the keyword shift (and periodic) to suppress the automatic definition of key_shift (and key_periodic) and define by hand a more suitable value...'220 ras = report(['the x axis (1st line of glamt) is not sorted in the increasing order after the automatic definition of key_shift', $ 221 'please use the keyword shift (and periodic) to suppress the automatic definition of key_shift (and key_periodic) and define by hand a more suitable value...']) 222 222 widget_control, noticebase, bad_id = nothing, /destroy 223 223 return -
trunk/SRC/Grid/ncdf_meshroms.pro
r231 r240 196 196 ; 197 197 IF array_equal(sort(xaxis), lindgen(jpi)) NE 1 THEN BEGIN 198 print, 'the x axis (1st line of glamt) is not sorted in the increasing order after the automatic definition of key_shift'199 print, 'please use the keyword shift (and periodic) to suppress the automatic definition of key_shift (and key_periodic) and define by hand a more suitable value...'198 ras = report (['the x axis (1st line of glamt) is not sorted in the increasing order after the automatic definition of key_shift', $ 199 'please use the keyword shift (and periodic) to suppress the automatic definition of key_shift (and key_periodic) and define by hand a more suitable value...']) 200 200 widget_control, noticebase, bad_id = nothing, /destroy 201 201 return -
trunk/SRC/Grid/numbisland.pro
r238 r240 90 90 land = (where(msk EQ 0, count))[0] 91 91 WHILE count NE 0 DO BEGIN 92 IF (islnumb-9) MOD 10 EQ 0 THEN print, 'island number :'+strtrim(islnumb-9, 1) 93 92 IF (islnumb-9) MOD 10 EQ 0 THEN BEGIN 93 ras = report('island number :'+strtrim(islnumb-9, 1)) 94 ENDIF 94 95 mskneig, msk, nx, ny, land, islnumb 95 96 -
trunk/SRC/Grid/smallmeshmask.pro
r238 r240 78 78 filein_msk = (findfile(filein+'.mask.nc'))[0] 79 79 IF filein_hgr EQ '' OR filein_zgr EQ '' OR filein_msk EQ '' THEN BEGIN 80 ras = report( 'meshmask file(s) not found...')81 ras = report( filein+' does not exist')82 ras = report( filein+'.mesh_hgr.nc does not exist')83 ras = report( filein+'.mesh_zgr.nc does not exist')84 ras = report( filein+'.mask.nc does not exist')80 ras = report(['meshmask file(s) not found...', $ 81 filein+' does not exist', $ 82 filein+'.mesh_hgr.nc does not exist', $ 83 filein+'.mesh_zgr.nc does not exist', $ 84 filein+'.mask.nc does not exist']) 85 85 return 86 86 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.