Dear all,
I have successfully compiled the MCIP5.1 and MCIP5.0 in CMAQ5.3.1 and CMAQ5.3 version. But when I tried to run the MCIP5.0 for processing the benchmark data and WRF3.9.1 output, there are errors reported below:
run_mcip.csh (18.8 KB) ncdump.txt (39.4 KB)
Please find the run script and ncdump file for wrfout here.
Note: I tried to use the MCIP5.1 and MCIP5.0 to process the benchmark wrf data and my own wrf3.9.1 output. But they all didn’t work.
Ryan, I don’t know what the problem is.
That version of netCDF is quite old (from 2011). Did you use the same compiler (and version) in compiling MCIP as was used in compiling the library? When you use ncdump to view the header of the file, are you sure it is the same version of netcdf as you used for compilation?
Basically, netCDF and ncdump version should never be a problem; the format is well defined and all of the libraries (and ncdumps) use the same format. The only problems that may happen are “going backwards” – large-model files generated netCDF-3 or later will not be readable by netCDF-2; HDF based files from netCDF-4 or later will not be readable by netCDF-3 or earlier; however, these are exceptional situations that you have to “work at” to get yourself into.
@cjcoats: I agree this should not be happening. That’s why it is perplexing.
use NETCDF
rcode = nf90_open (file_mm(1), nf90_nowrite, cdfid)
IF ( rcode == nf90_noerr ) THEN ! successfully opened NetCDF file; assume WRF
ELSE ! error opening file as NetCDF
[output error message]
END IF
@Ryan is getting the error condition in the ELSE block. Any other suggestions of what could be going wrong?
Hi Tanya,
I am pretty sure that the path to the wrfout file is correct. And I have solved this error by updating the MCIP to version5.1 (But I still have no idea what caused the error). @cgnolte Thanks a lot for your help, Chris. I really appreciate it.