Main menu

Navigation

netcdf error rcode = -46 error = NetCDF: Invalid dimension ID or name when running interpinic

3 posts / 0 new
Last post
alexander.koch....
netcdf error rcode = -46 error = NetCDF: Invalid dimension ID or name when running interpinic

I'm trying to interpolate between two land cover datasets (same resolution, one is potential vegetation, the other 1850 conditions) but currently get this error:

abort: 

./interpinic -i /home/ucfaako/Scratch/cesm/archive/lr_cc_spinpotveg/lnd/hist/lr_cc_spinpotveg.clm2.h0.0001-01-01-00000.nc -o /home/ucfaako/Scratch/cesm/archive/lr_cc_preind/lnd/hist/lr_cc_preind.clm2.h0.0800-01-01-00000.nc

 Mapping clm initial data from input to output initial files

 input numcols =         3045  output numcols =         5290

 input numpfts =        28565  output numpfts =        28346

 input numldus =         3045  output numldus =         2974

 netcdf error rcode =          -46  error = 

 NetCDF: Invalid dimension ID or name

There doesn't seem to be much online so any help would be greatly appreciated!

 

Cheers,

Alex

Alex Koch, UCL

taylor.hughlett@...

Hi Alex,

I am currently working on running interpinic myself, and am getting the same error. Have you found any solution to this?

Thanks,
Taylor

Taylor M. Hughlett, Ph.D.
Postdoctoral Research Fellow
Department of Earth & Environmental Sciences
University of Texas at Arlington

alexander.koch....

Hi Taylor,

 

From what it looks like, I think I used the wrong files for this (you need to use the restart .r. files). The correct workflow would be:

1) create a new case, set the initial conditions to cold start, point fsurdat in user_nl_clm to your to new land surface file (e.g. fsurdat='/location/of/your/file/')

2) run your case for a few days/years (depending on your resolution) until you have a clm restart file (YOURNEWLANDCOVER.clm2.r.XXXX.nc)

3) now run interpinic -o YOURNEWLANDCOVER.clm2.r.XXXX.nc -i YOUROLDRUN.clm2.r.XXXX.nc (the run that you want to continue with the new land cover)

4) copy YOURNEWLANDCOVER.clm2.r.XXXX.nc into YOUROLDRUN/run and rename it to YOUROLDRUN.clm2.r.XXXX.nc in there (or create a symbolic link, although that sometimes didn't work)

That should be it. Let me know if you have any questions.

Best,

Alex

 

Alex Koch, UCL

Log in or register to post comments

Who's new

  • kamal.tewari1@...
  • rchemke
  • abdulla.sakalli@...
  • mehmetugurgucel@...
  • borst