I am now using the utility CAM2WRF which can be found in WRF download page to convert the CCSM output into WPS format, however I encounter bus error without knowing the reason, it seems that the program crushes when execute these lines:
[color=#004000] ! get 3d T,RH,U,V:
STATUS = NF_GET_VAR_REAL(NCID, field_var_ID(ifield), field3d)
IF (STATUS .NE. NF_NOERR) CALL HANDLE_ERR(STATUS)
write(outfile_diagnostics,*) ,"ifield=",ifield,"; name=",field_name_to_output(ifield) &
,"; field3d(64,32,:,1)=",field3d(64,32,:,1) &
write(outfile_diagnostics,*) "done getting T,RH,U,V from netcdf"[/color]
but I have no idea what is wrong with them, has anybody used this utility for converting data or does anyone know what is the problem?
Any help is very appreciated!