Opened 8 years ago

Closed 8 years ago

#947 closed help (fixed)

Help with understanding an xancil error?

Reported by: CLoptson Owned by: jeff
Component: UM Tools Keywords: xancil
Cc: Platform: <select platform>
UM Version: 4.5


I am currently trying to create an ancillary file for vegetation parameters using xancil. However, I am getting the following error:

ERROR: in procedure get_ncdiminfo 1 : NetCDF error number -49
Variable not found:

I have chosen a netcdf file to read the data from and have selected the variables using the 'select' button so I know that all the variables I have selected exist.

Also, I used exactly the same filetype to make an ancillary file for a different job a couple of days ago but today it won't work. I don't think I've done anything differently this time, so I don't understand why it is not working. Any advice on how to fix this error would be appreciated.


Change History (6)

comment:1 Changed 8 years ago by jeff

  • Owner changed from um_support to jeff
  • Status changed from new to accepted


Can you point me to where you are doing this so I can see the job file and the netcdf input files?


comment:2 Changed 8 years ago by CLoptson

On PUMA, it's in the directory called ancils. The netcdf file is tddmka@…. I can make the vegetation fractions ancil file OK, but not the vegetation parameters one.



comment:3 Changed 8 years ago by jeff

  • Platform set to <select platform>

Hi Claire

Can you also give me access to the .job file. Thanks.


comment:4 Changed 8 years ago by CLoptson

Sorry. I have made a .job file (eoc_4.job) and put in the ancils directory now as well.


comment:5 Changed 8 years ago by jeff

The way xancil works is that it reads an input field from the netcdf file to get the ancillary fields dimension information. At the moment it will read the first field in the list to get this info, which in the case of veg parameters is root depth, but in your job you don't have root depth as one of your output fields. Therefore xancil tries to read data from an undefined variable and fails. I can fix this so instead xancil reads the first defined field, but in the mean time if you have root depth as an output field then it will work.


comment:6 Changed 8 years ago by jeff

  • Resolution set to fixed
  • Status changed from accepted to closed
Note: See TracTickets for help on using tickets.