warning:VarVarWrite: Dimension names for dimension number (0) don't match

From: Yi-Chih Huang <dscpln_at_nyahnyahspammersnyahnyah>
Date: Tue Nov 26 2013 - 01:16:43 MST

Hello,

    I got the following warning message from "xx(ny,:,:)= xy(0,:,:)" in a
do loop. This condition is different from those in ncl-talk. I wonder how
to avoid such a warning?

warning:VarVarWrite: Dimension names for dimension number (0) don't match,
assigning name of rhs dimension to lhs and overwriting coordinate variable,
use "(/../)" if this change is not desired
warning:["Execute.c":8128]:Execute: Error occurred at or near line 49 in
file stdgsnClr.ncl

    Thanks much,

                  Yi-Chih

####
  do ny= 0,nyr-1
     ....
     xy = season_from_month (xs, 6, 9, "JJAS")
     xx(ny,:,:)= xy(0,:,:)
    printVarSummary(xy)
    printVarSummary(xx)
  end do

#####
Variable: xy
Type: float
Total Size: 126324 bytes
            31581 values
Number of Dimensions: 3
Dimensions and sizes: [time | 1] x [lat | 121] x [lon | 261]
Coordinates:
            time: [40007..40007]
            lat: [-30..30]
            lon: [30..160]
Number Of Attributes: 17
  season : JJAS
  DataFreq : Monthly
  center : US National Weather Service - NCEP (WMC)
  production_status : Operational products
  long_name : JJAS Means: V-component of wind
  units : m s-1
  grid_type : Latitude/longitude
  parameter_discipline_and_category : Meteorological products, Momentum
  parameter_template_discipline_category_number : ( 8, 0, 2, 3 )
  level_type : Isobaric surface (Pa)
  type_of_statistical_processing : Average of N uninitialized
analyses, starting at reference time.
  statistical_process_duration : not applicable (intervals of 6
hours)
  number_in_average : <ARRAY of 444 elements>
  forecast_time : 0
  forecast_time_units : hours
  level : 850
  _FillValue : 1e+20

Variable: xx
Type: float
Total Size: 3916044 bytes
            979011 values
Number of Dimensions: 3
Dimensions and sizes: [time | 31] x [lat | 121] x [lon | 261]
Coordinates:
            time: [9.969209968386869e+36..40007]
            lat: [-30..30]
            lon: [30..160]
Number Of Attributes: 17
  level : 850
  forecast_time_units : hours
  forecast_time : 0
  number_in_average : <ARRAY of 444 elements>
  statistical_process_duration : not applicable (intervals of 6
hours)
  type_of_statistical_processing : Average of N uninitialized
analyses, starting at reference time.
  level_type : Isobaric surface (Pa)
  parameter_template_discipline_category_number : ( 8, 0, 2, 3 )
  parameter_discipline_and_category : Meteorological products, Momentum
  grid_type : Latitude/longitude
  units : m s-1
  long_name : JJAS Means: V-component of wind
  production_status : Operational products
  center : US National Weather Service - NCEP (WMC)
  DataFreq : Monthly
  season : JJAS
  _FillValue : 1e+20

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Nov 26 01:16:57 2013

This archive was generated by hypermail 2.1.8 : Wed Dec 04 2013 - 20:42:38 MST