Changeset 50 for trunk/src/interp_erai_sst_1989_2009.pro
- Timestamp:
- 04/29/11 11:09:12 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/interp_erai_sst_1989_2009.pro
r20 r50 15 15 ; file_in [shape=ellipse,fontname=Courier,label="/Volumes/PRAVEEN/ERAI_global/20c3m_erai_sstk_TROP_1989_2009.nc"]; 16 16 ; 17 ; mask [shape=ellipse,fontname=Courier,label="${ TROPFLUX_ID}/mask_oaflux_30N30S.nc"];17 ; mask [shape=ellipse,fontname=Courier,label="${PROJECT_ID}/mask_oaflux_30N30S.nc"]; 18 18 ; 19 19 ; ncfile [shape=ellipse,fontname=Courier,label="/Volumes/PRAVEEN/TropFlux/input_uncor/erai_sst_19890101_20091231_oafluxgrid.nc"]; … … 23 23 ; color=blue, 24 24 ; URL="http://forge.ipsl.jussieu.fr/tropflux/browser/trunk/src/interp_erai_sst_1989_2009.pro", 25 ; label="${ TROPFLUX}/src/interp_erai_sst_1989_2009.pro"];25 ; label="${PROJECT}/src/interp_erai_sst_1989_2009.pro"]; 26 26 ; 27 27 ; {file_in mask} -> {interp_erai_sst_1989_2009} -> {ncfile} … … 31 31 ; ======== 32 32 ; 33 ; :ref:` tropflux_profile.sh`33 ; :ref:`project_profile.sh` 34 34 ; 35 35 ; :func:`report <saxo:report>` … … 52 52 ; ==== 53 53 ; 54 ; hard coded directory - usage of ${ TROPFLUX_ID}54 ; hard coded directory - usage of ${PROJECT_ID} 55 55 ; 56 56 ; coding rules … … 85 85 pro interp_erai_sst_1989_2009 86 86 @common 87 @cm_project 87 88 ; 88 89 ; check for input directory 89 90 ; 90 ; test if ${TROPFLUX_ID} defined 91 tropflux_id_env=GETENV('TROPFLUX_ID') 92 CASE tropflux_id_env OF 91 ; test if ${PROJECT_ID} defined 92 CASE project_id_env OF 93 93 '' : BEGIN 94 msg = 'eee : ${ TROPFLUX_ID} is not defined'94 msg = 'eee : ${PROJECT_ID} is not defined' 95 95 ras = report(msg) 96 96 STOP 97 97 END 98 98 ELSE: BEGIN 99 msg = 'iii : ${ TROPFLUX_ID} is ' + tropflux_id_env99 msg = 'iii : ${PROJECT_ID} is ' + project_id_env 100 100 ras = report(msg) 101 101 END 102 102 ENDCASE 103 103 ; 104 iodirin = isadirectory( tropflux_id_env)104 iodirin = isadirectory(project_id_env) 105 105 ; 106 ; existence and protection of ${ TROPFLUX_ID}106 ; existence and protection of ${PROJECT_ID} 107 107 IF (FILE_TEST(iodirin, /DIRECTORY, /EXECUTABLE, /READ) EQ 0) THEN BEGIN 108 108 msg = 'eee : the directory' + iodirin + ' is not accessible.'
Note: See TracChangeset
for help on using the changeset viewer.