[Thread Prev][Thread Next][Index]

[ferret_users] Ferret calendar error when plotting



Hi All,

I am trying to plot two time series variables on the same plot using plot/over. My code reads as follows:
"
plot/color=red/thick=2 clr_anom_DJF1
plot/over/color=black/thick=2 swdn_sfcanom_DJF[x=@ave,y=@ave]
"
where clr_anom_DJF1 and swdn_sfcanom_DJF are the two time series variables.

However, when I try to do this, I get the following error:

 **ERROR: inconsistent data grids: Differing calendar axes:                                                                         
          first variable is on NO_CALENDAR axis                                                                                     
          subsequent variable is on NOLEAP axis   

Both variables, however, read as being on the noleap character. When I list the two variables, I get the following variable characteristics

for swdn_sfcanom.DJF:
VARIABLE : SWDN_SFC_CLR[D=atmos.1861-2003.DJF.swdn_sfc_clr, L=100:143] - SWDN_SFC_CLR[D=atmos.1861-2003.DJF.swdn_sfc_clr, L=100:143@AVE]
SUBSET   : 44 points (TIME)                                                                                                            
CALENDAR : NOLEAP                  

and for clr_anom_DJF1:
VARIABLE : CLR_ANOM_DJF[D=China_clr_anom_DJF,GT=T1@ASN]
 SUBSET   : 59 points (T (YEARS))
CALENDAR : NOLEAP

I have tried explicitly assign the same calendar to both variables using the "define axis/calendar=no_leap/..."  command, but I continue to get the same error.

Any ideas on what might be causing Ferret to mistake the calendar type? Any assistance troubleshooting this would be much appreciated.

Thanks,
   Geeta


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement