Dear RegCNET users,

For those who faced a problem about reading HadGEM2, MPI or Can datasets which causes error such as

./bin/icbc regcm.in

  This is icbc part of the RegCM version 4
   SVN Revision: tag 4.4.5-SVN4765 compiled at: data : Dec 25 2014  time: 11:15:42

 : this run start at    : 2015-02-02 15:10:51+0200
 : it is submitted by   : samy
 : it is running on     : localhost.localdomain
 : in directory         : /home/samy/rcm4.4.5run
                      
 GLOBIDATE1 : 2005-09-01 06:00:00 UTC        
 GLOBIDATE2 : 2005-12-01 00:00:00 UTC        
 NSTEPS     :          360
 No such file or directory                                                      
 mod_gn6hnc.F90 :      250:Error open /home/samy/RCMDATA/HadGEM2/RF/ta/ta_6hrLev_HadGEM2-ES_historical_r1i1p1_199012010600-199103010000.nc:            2

Backtrace for this error:
#0  0x7F3CF18F6037
#1  0x7F3CF18F76B6
#2  0x7F3CF19C05A8
#3  0x4505BA in myabort_
#4  0x477FD5 in __mod_nchelper_MOD_checkncerr.part.0 at mod_nchelper.F90:?
#5  0x446003 in __mod_gn6hnc_MOD_headgn6hnc
#6  0x4501F6 in MAIN__ at icbc.F90:?
Aborted (core dumped)

So the solution to this problem is to go to mod_gn6hnc.F90 file in ICBC in PreProc directory, then go to type of RF or RCP of data u want then modify the default date by new date of the run then type make install then rerun icbc step then it will work