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

Running Diagnostics on personal computer

I have NCL, NCO, etc installed on my personal MAC laptop (10.8) and I want to run the diagnostic package locally. I have a test case run and a control run in the appropriate directories. I get this error when I run the diagnostics:.
.
.
.
Segmentation fault
ncks: ERROR /Volumes/LaCie/Work/AMWG_package/amwg_diag5.6//climo/cam_b30.12_2kaDVTn_T85//temp.nc neither exists locally nor matches remote filename patterns
ncks: WARNING cvs_vrs_prs() reports nco_sng_ptr == NULL
 CLIMO FOR MONTH = 02 (NEXT YEAR)
Segmentation fault
ncks: ERROR /Volumes/LaCie/Work/AMWG_package/amwg_diag5.6//climo/cam_b30.12_2kaDVTn_T85//temp.nc neither exists locally nor matches remote filename patterns
ncks: WARNING cvs_vrs_prs() reports nco_sng_ptr == NULL
 
COMPUTING CASE ANNUAL AVERAGES FOR test
ncflint: ERROR nco_var_lst_mk() reports user-specified variable "CLDHGH" is not in input file
ncflint: ERROR nco_var_lst_mk() reports user-specified variable "CLDHGH" is not in input file
ncflint: ERROR nco_var_lst_mk() reports user-specified variable "CLDHGH" is not in input file
ncflint: ERROR nco_var_lst_mk() reports user-specified variable "CLDHGH" is not in input file
ncflint: ERROR nco_var_lst_mk() reports user-specified variable "CLDHGH" is not in input file
ncflint: ERROR nco_var_lst_mk() reports user-specified variable "CLDHGH" is not in input file
ncflint: ERROR nco_var_lst_mk() reports user-specified variable "CLDHGH" is not in input file
ncflint: ERROR nco_var_lst_mk() reports user-specified variable "CLDHGH" is not in input file
ncflint: ERROR nco_var_lst_mk() reports user-specified variable "CLDHGH" is not in input file
ncflint: ERROR nco_var_lst_mk() reports user-specified variable "CLDHGH" is not in input file
ncflint: ERROR nco_var_lst_mk() reports user-specified variable "CLDHGH" is not in input file
ncflint: ERROR nco_var_lst_mk() reports user-specified variable "CLDHGH" is not in input file
ls: No match.


I'm sure I am doing something wrong but I have no idea. Can somebody help? ThanksJerry
 
I have made some progress and no longer get the error but now I have another question. I want the netcdf files saved so that I can look at them and plot using other packages but I don't know where the package puts them. Also, I would like to save the postscript plots. I have the correct setting for both of these but I don't seem to be able to find the files that are written. I thought they would be in /diag/$test_casename but they aren't. The directory is empty.
 

mai

Member
I am using NCO 4.2.0 with diag121205.csh with Swift turned on. You are probably not using swift, but it should work the same with Swift turned off.
 
I have it working now. The mac version of NCO was the problem. I am now running the diagnostic package with Ubuntu 13.04. One major problem is that when it calculates DJF it crashes and says  "index out of range". the DJF climo files are not calculated in either the test or cntl case. All the other seasons are calculated fine. This doesn't appear to be a problem with my setup.
 

mai

Member
You must supply the previous December monthly mean and/or the following January and February monthly means. For example, if you specify years starting at 81 and going for 20 years (note that this corresponds to model years 0081-0100), you must also have 0080-12 and/or 0101-01, 0101-02 in the specified directory. This is so the DJF averages can be correctly computed.
 
Thanks,I did this.. I start with the second year (year 2) so it has the previous December (from December year 1). There is also an extra year at the end for January and February. I still get:COMPUTING MONTHLY CLIMOS FOR test
 CLIMO FOR MONTH = 01
 CLIMO FOR MONTH = 02
 CLIMO FOR MONTH = 03
 CLIMO FOR MONTH = 04
 CLIMO FOR MONTH = 05
 CLIMO FOR MONTH = 06
 CLIMO FOR MONTH = 07
 CLIMO FOR MONTH = 08
 CLIMO FOR MONTH = 09
 CLIMO FOR MONTH = 10
 CLIMO FOR MONTH = 11
 CLIMO FOR MONTH = 12
 CLIMO FOR MONTH = 12 (PREVIOUS YEAR)
 
COMPUTING CASE ANNUAL AVERAGES FOR test
 TIME AVERAGE
 
COMPUTING CASE JJA AVERAGES FOR test
 TIME AVERAGE
 
COMPUTING CASE MAM AVERAGES FOR test
 TIME AVERAGE
 
COMPUTING CASE SON AVERAGES FOR test
 TIME AVERAGE
 
COMPUTING CASE DJF AVERAGES FOR test
set: Subscript out of range.

 

hannay

Cecile Hannay
AMWG Liaison
Staff member
Hi Jerry,Plesae could you attach the script you are using (with the exact setting you used when it generated the error above) . ThanksCecile 
 

hannay

Cecile Hannay
AMWG Liaison
Staff member
I set up Jerry to run on caldera.
Documentation to run on caldera is at:
http://www.cgd.ucar.edu/amp/amwg/diagnostics/
 
Top