Hi Suman,
     RegCM3 doesn't accept data in grib format. You have to convert it to netcdf. There are several ways to do the conversion. You should have knowledge of NCO (Netcdf operators) for doing this. Few hints for
conversion:

1) Using NCAR COMMAND LANGUAGE (NCL):

a) ncl_convert2nc infile.grb -u initial_time0_hours -U time

output file name will be similar to infile excpet now extension will be .nc,
-u initial_time0_hours  : to make time record dimension (unlimited)
-U time                 : to assing a newname "time" to coordinate variable initial_time0_hours.

convert one file at a time.


b) Using (Xconv/Convsh - http://badc.nerc.ac.uk/help/software/xconv/)

convsh subset.tcl -i infiles.grib -o outfile.nc -of netcdf         (subset.tcl is attached)

The script subset.tcl should be in the directory where conversion is being done.
Advantage: Convert multiple input files and create one outfile file. Also you can
subset variables if you have more than one variables in input file.


c) Climate Data Operators:

cdo -f nc copy infile.grb outfile.nc


2) ncrcat infiles.nc outfile.nc      (to concatenate nc files along record dimension)
 
3) ncrename -h -v Temp,T infile.nc      (to rename a variable from Temp  to T in nc file)

   ncrename -v p,levelist -v t,date -v R,r -d p,levelist -d t,date infile.nc  (to raname  variables and dimensions)

4) ncatted  -a units,levelist,m,c,"millibars" infile.nc            (to change file attributes)

Regards
Nadeem

   

On Fri, Feb 19, 2010 at 9:32 AM, Suman Maity <suman.buie@gmail.com> wrote:
dear all,
myself suman maity from india.i am using regcm3 for last two years.actually to run regcm3,four type of data required----------landuse data,terrain data,sst data and meteorological data.now this meteorological data are of different types.we are using mainly 3 type of data(NNRP1,NNRP2 and ERA40).they are all in netCDF format.if i download these data from www.dss.ucar.edu then they are in grib1 format.my question is can regcm3 accept these grib1 data?  if yes then how????or i have to conclude that regcm3 can access netCDF data???


please help me.it's urgent....


suman maity
research scholar
IIT,Kharagpore,India.

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