[RegCNET] Question about interpolating observational data to theRegCM grid

Kasemsan Manomaiphiboon kasemsan_m at jgsee.kmutt.ac.th
Wed Dec 19 04:50:41 CET 2007


Dear Zhang:

   You may have to add "/" at the end of each DATA statement to be complete
so that FORTRAN can complile properly, e.g.

&   ,'WET2000.nc' ==> &   ,'WET2000.nc' /

&   ,'/RegCM/Obs/CRU/CRUWET.CDF' ==> &   ,'/RegCM/Obs/CRU/CRUWET.CDF' /

and so on.


Hope this help.

Best,
Kasemsan Manomaiphiboon, PhD
Faculty Member, Joint Graduate School of Energy and Environment (JGSEE)
King Mongkut's University of Technology Thonburi (KMUTT)
126 Prachauthit Rd., Bangmod, Tungkru, Bangkok, 10140, Thailand
 
Main (or Bang Mod) Campus
Tel: +66 2 872-9014-5 or +66 2 470-8309-10
Fax: +66 2 872-9805
 
Bang Khun Tien Campus
Tel: +66 2 470-7331 (Regular Office), +66 2 470-7332 (Computational Lab)
E-mail: kasemsan_m at jgsee.kmutt.ac.th

  ----- Original Message ----- 
  From: 靖 张 
  To: RegCM 
  Sent: Wednesday, December 19, 2007 10:31 AM
  Subject: [RegCNET] Question about interpolating observational data to theRegCM grid


  Dear all,
  I want to interpolate observational data to my RegCM grid,but when I run the cruIFC8.x script,it failed.
  ./ cruIFC8.x
  fortcom: Error: cru.param, line 37: Syntax error, found END-OF-STATEMENT when expecting one of: / ,
       &   ,'WET2000.nc'
  ----------------------^
  fortcom: Error: cru.param, line 51: Syntax error, found END-OF-STATEMENT when expecting one of: / ,
       &   ,'/RegCM/Obs/CRU/CRUWET.CDF'
  -------------------------------------^
  fortcom: Error: cru.param, line 66: Syntax error, found END-OF-STATEMENT when expecting one of: / ,
       &   ,'WET'
  ---------------^
  fortcom: Error: cru.param, line 37: Syntax error, found END-OF-STATEMENT when expecting one of: / ,
       &   ,'WET2000.nc'
  ----------------------^
  fortcom: Error: cru.param, line 51: Syntax error, found END-OF-STATEMENT when expecting one of: / ,
       &   ,'/RegCM/Obs/CRU/CRUWET.CDF'
  -------------------------------------^
  fortcom: Error: cru.param, line 66: Syntax error, found END-OF-STATEMENT when expecting one of: / ,
       &   ,'WET'
  ---------------^
  compilation aborted for CRU2RCM.f (code 1)
  ./cruIFC8.x: line 4: ./cru: No such file or directory
  rm: cannot remove `cru': No such file or directory
   
  Here is my settings:
  vi cru.param
   
        character outfile(nfld)*50
        DATA  (outfile(ifld),ifld=1,nfld)
       &   /'PRE2000.nc'
       &   ,'TMP2000.nc'
       &   ,'DTR2000.nc'
       &   ,'VAP2000.nc'
       &   ,'CLD2000.nc'
       &   ,'FRS2000.nc'
       &   ,'TMN2000.nc'
       &   ,'TMX2000.nc'
       &   ,'WET2000.nc'
   
   
  c NAME OF THE GLOBAL INPUT CRU FILES
        character infile(nfld)*50
        DATA  (infile(ifld),ifld=1,nfld)
       &   /'/RegCM/Obs/CRU/CRUPRE.CDF'
       &   ,'/RegCM/Obs/CRU/CRUTMP.CDF'
       &   ,'/RegCM/Obs/CRU/CRUDTR.CDF'
       &   ,'/RegCM/Obs/CRU/CRUVAP.CDF'
       &   ,'/RegCM/Obs/CRU/CRUCLD.CDF'
       &   ,'/RegCM/Obs/CRU/CRUFRS.CDF'
       &   ,'/RegCM/Obs/CRU/CRUTMN.CDF'
       &   ,'/RegCM/Obs/CRU/CRUTMX.CDF'
       &   ,'/RegCM/Obs/CRU/CRUWET.CDF'
   
   
   
  c NAME OF THE CRU VARIABLES
        character vnam(nfld)*10
        DATA  (vnam(ifld),ifld=1,nfld)
       &   /'PRE'
       &   ,'TMP'
       &   ,'DTR'
       &   ,'VAP'
       &   ,'CLD'
       &   ,'FRS'
       &   ,'TMN'
       &   ,'TMX'
       &   ,'WET'
   
  I don’t know the reason. can anybody tell me why? I would appreciate your suggestion.
  Thank you!
   
  Jing Zhang


------------------------------------------------------------------------------
  雅虎邮箱传递新年祝福,个性贺卡送亲朋! 


------------------------------------------------------------------------------


  _______________________________________________
  RegCNET mailing list
  RegCNET at lists.ictp.it
  https://lists.ictp.it/mailman/listinfo/regcnet



------------------------------------------------------------------------------


  No virus found in this incoming message.
  Checked by AVG Free Edition. 
  Version: 7.5.503 / Virus Database: 269.17.4/1189 - Release Date: 12/18/2007 9:40 PM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ictp.it/pipermail/regcnet/attachments/20071219/46dbeac7/attachment-0002.html>


More information about the RegCNET mailing list