[ncl-talk] month_to_season
Najib Yusuf
najibgal at yahoo.com
Thu May 26 04:59:18 MDT 2022
Dear NCL experts and colleagues,
I have an error with the subscripting in the attached script while trying to plot spatial distribution month_to_season surface Ozone model data. I did try to change my subscripting to solve the error but seems beyond my little understanding of subscripting in ncl. Kindly assist.
Variable: o3x_surfType: floatTotal Size: 221184 bytes 55296 valuesNumber of Dimensions: 2Dimensions and sizes: [lat | 192] x [lon | 288]Coordinates: lat: [ -90.. 90] lon: [ 0..358.75]Number Of Attributes: 6 lev : 992.5000106104562 time : 2953 cell_methods : time: mean long_name : O3 concentration units : mol/mol mdims : 1(0) O3 concentration (mol/mol) : min=3.61245 max=77.7517
Variable: xMonType: integerTotal Size: 48 bytes 12 valuesNumber of Dimensions: 1Dimensions and sizes: [time | 12]Coordinates: time: [2953..3287]Number Of Attributes: 1 long_name : current date (YYYYMMDD)
Variable: xMonType: integerTotal Size: 48 bytes 12 valuesNumber of Dimensions: 1Dimensions and sizes: [time | 12]Coordinates: time: [2953..3287]Number Of Attributes: 1 long_name : current date (YYYYMMDD)(0) 20130201(1) 20130301(2) 20130401(3) 20130501(4) 20130601(5) 20130701(6) 20130801(7) 20130901(8) 20131001(9) 20131101(10) 20131201(11) 20140101fatal:Number of subscripts do not match number of dimensions of variable,(2) Subscripts used, (1) Subscripts expectedfatal:["Execute.c":8637]:Execute: Error occurred at or near line 137 in file month_to_seasO3.ncl
------------------------------------
Najib Yusuf Galadanci Ph.D.
Assistant Director (R & D)
Lower Atmospheric Dynamics
(Aerosol radiative forcing, air quality observations and modeling)
Centre for Atmospheric Research
National Space Research and Development Agency. Kogi State
University Campus, Anyigba. Kogi State. Nigeria
+234 80 3871 4158
------------------------------------Know that Victory comes with Patience, Relief with Affliction, and Ease with Hardship.
Prophet Muhammad Rasulullah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20220526/8c5df413/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: month_to_season_script.txt
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20220526/8c5df413/attachment.txt>
More information about the ncl-talk
mailing list