Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

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 nameThere doesn't seem to be much online so any help would be greatly appreciated! Cheers,Alex
 
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 
 
Top