Changeset 64
- Timestamp:
- 08/01/11 17:33:41 (13 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/run_batch_sinobad.sh
r55 r64 3 3 #PBS -o ../scripts/script_outputs/sinobad.out 4 4 #PBS -q short 5 #PBS -l ncpus= 16,nodes=1:x645 #PBS -l ncpus=24,nodes=1:x64 6 6 7 7 #run reference experience -
trunk/scripts/sinobad.i
r49 r64 20 20 set_modeltime 0 21 21 FORWARD 22 #xwriteout 50 obs_48 ../data_out/exp_T.nc23 #savestate gcx_dynspg_flt 1 ijk 0 A 3 ../data_out/gcx_dynspg_flt_jb.dat24 #savestate gcb_dynspg_flt 1 ijk 0 A 3 ../data_out/gcb_dynspg_flt_jb.dat25 #savestate gcx2 1 ijk 0 A 3 ../data_out/gcx2_jb.dat26 22 27 #goto FINRUN 23 28 24 29 25 ##OBSERVATION 30 26 xwriteout 50 obs_48 ../data_out/exp_T.nc 31 savestate sshb 1 ij 50 A 1 ../data_out/sshb_obs_48.dat 32 savestate tb 1 ijk 50 A 1 ../data_out/tb_obs_48.dat 33 savestate sb 1 ijk 50 A 1 ../data_out/sb_obs_48.dat 34 savestate ub 1 ijk 50 A 1 ../data_out/ub_obs_48.dat 35 savestate vb 1 ijk 50 A 1 ../data_out/vb_obs_48.dat 27 28 goto FINRUN 29 30 savestate sshb 1 ij 50 A 1 ../data_out/sshb_obs_50at 31 savestate tb 1 ijk 50 A 1 ../data_out/tb_obs_50.dat 32 savestate sb 1 ijk 50 A 1 ../data_out/sb_obs_50.dat 33 savestate ub 1 ijk 50 A 1 ../data_out/ub_obs_50.dat 34 savestate vb 1 ijk 50 A 1 ../data_out/vb_obs_50.dat 36 35 37 36 loadobs sshb 1 ij 50 A 1 ../data_out/sshb_obs_48.dat D -
trunk/src/.TERM_xterm
r52 r64 11 11 lun. juin 27 15:44:44 CEST 2011 ... ariane.locean-ipsl.upmc.fr 12 12 mer. juin 29 16:45:11 CEST 2011 ... ariane.locean-ipsl.upmc.fr 13 lun. août 1 16:18:44 CEST 2011 ... ariane -
trunk/src/sbcgyre_emp1.h
r1 r64 17 17 else{ 18 18 // ! current day (in hours) since january the 1st of the current year 19 double ztime = double(Yt-TU) * rdt / (rmmss * rhhmm) // ! total incrementation (in hours)19 /* double ztime = double(Yt-TU) * rdt / (rmmss * rhhmm) // ! total incrementation (in hours) 20 20 - (nyear - 1) * rjjhh * raajj; // ! minus years since beginning of experiment (in hours) 21 21 */ 22 double ztime = kt * rdt / (rmmss * rhhmm) // ! total incrementation (in hours) 23 - (nyear - 1) * rjjhh * raajj; // ! minus years since beginning of experiment (in hours) 22 24 double ztimemax1 = ((5.*30.)+21.)* 24.;// ! 21th june at 24h in hours 23 25 double ztimemin1 = ztimemax1 + rjjhh * raajj / 2.;// ! 21th december in hours -
trunk/src/sbcgyre_qsr_qns.h
r1 r64 24 24 else{ 25 25 // ! current day (in hours) since january the 1st of the current year 26 double ztime = double(Yt-TU) * rdt / (rmmss * rhhmm) // ! total incrementation (in hours) 26 /* double ztime = double(Yt-TU) * rdt / (rmmss * rhhmm) // ! total incrementation (in hours) 27 - (nyear - 1) * rjjhh * raajj; // ! minus years since beginning of experiment (in hours) 28 */ 29 double ztime = kt * rdt / (rmmss * rhhmm) // ! total incrementation (in hours) 27 30 - (nyear - 1) * rjjhh * raajj; // ! minus years since beginning of experiment (in hours) 28 29 31 double ztimemax1 = ((5.*30.)+21.)* 24.;// ! 21th june at 24h in hours 30 32 double ztimemin1 = ztimemax1 + rjjhh * raajj / 2.;// ! 21th december in hours -
trunk/src/sbcgyre_utau_vtau.h
r9 r64 19 19 // !accumulates days of previous months of this year 20 20 // ! day (in hours) since january the 1st 21 double ztime = float(Yt-TU)*rdt/(rmmss*rhhmm)// ! incrementation in hour 21 /* double ztime = float(Yt-TU)*rdt/(rmmss*rhhmm)// ! incrementation in hour 22 - (nyear - 1) * rjjhh * raajj;// ! - nber of hours the precedent years */ 23 double ztime = kt*rdt/(rmmss*rhhmm)// ! incrementation in hour 22 24 - (nyear - 1) * rjjhh * raajj;// ! - nber of hours the precedent years 23 25 double ztimemax = ((5.*30.)+21.)* 24.;// ! 21th june in hours -
trunk/src/sinobad.d
r61 r64 1131 1131 insert_fct arg xchangesavemode 1132 1132 1133 #ifdef FILTER 1133 1134 insert_fct arg load_eb 1135 #endif 1134 1136 1135 1137 insert_fct arg xwriteout 1136 1138 insert_fct arg xwritegrad 1137 1139 insert_fct arg xinitnc 1140 insert_fct arg init_euler 1138 1141 //#insert_fct arg load_shape_func 1139 1142 //#insert_fct arg load_stdev_pca -
trunk/src/sinobad.h
r61 r64 50 50 int nksr; 51 51 void xtraqsr_init();// init of solar radiation penetration 52 52 double Ytold; //pour voir se pas de temps 53 double ktinit; //premier pas ocean 53 54 # define rdttra( k ) rdt 54 55 double r2dt; … … 133 134 xdisplay(); 134 135 xtraqsr_init(); 135 136 ktinit=0; //A mettre dans la namelist ???? 136 137 } 137 138 //____________________________________________________________________________ … … 147 148 fprintf(p,"%23.16e\n",YTotalCost); 148 149 fclose(p); 150 Ytold=Yt; 151 kt=ktinit; 149 152 } 150 153 //_____________________________________________________________________________ … … 164 167 void forward_before (int ctrp) 165 168 { // permet d'intervenir si besoin avant le forward 166 kt=Yt-TU; //oceanic time step167 169 170 171 kt=ktinit + (Yt-TU); 172 printf("kt=%lf\n",kt); 168 173 if(Yt==TU+1 && neuler==0) 169 174 r2dt=rdt; … … 174 179 void forward_after (int ctrp) 175 180 { // permet d'intervenir si besoin aprÚs le forward 176 printf("neuler=%d\n",neuler);181 //printf("neuler=%d\n",neuler); 177 182 } 178 183 //_____________________________________________________________________________ … … 959 964 960 965 } 966 967 void init_euler(int argc, char *argv[]){ 968 if (argc!=2) 969 { 970 printf("\nwrong number of argument in init_euler : specify 0 or 1\n"); 971 exit(1); 972 } 973 else 974 { 975 int n; 976 n=atoi(argv[1]); 977 if(n!=0 && n!=1) 978 { 979 printf("\nwrong argument in init_euler : specify 0 or 1 in command init_euler\n"); 980 exit(1); 981 } 982 neuler=n; 983 } 984 }
Note: See TracChangeset
for help on using the changeset viewer.