[ncl-talk] Meteogram plot

Guilherme Martins jgmsantos at gmail.com
Mon Mar 28 17:04:02 MDT 2016


Hi users,

I'm using the script below:

http://www.ncl.ucar.edu/Applications/Scripts/meteo_1.ncl

To plot the meteogram, but I'm getting somes warnings messages like this:

warning:ScalarFieldSetValues: coordinate array sfXArray requires 7
elements: defaulting
warning:ScalarFieldSetValues: coordinate array sfYArray requires 20
elements: defaulting
warning:ScalarFieldSetValues: coordinate array sfXArray requires 7
elements: defaulting
warning:ScalarFieldSetValues: coordinate array sfYArray requires 20
elements: defaulting
warning:VectorFieldSetValues: coordinate array vfXArray requires 7
elements: defaulting
warning:VectorFieldSetValues: coordinate array vfYArray requires 20
elements: defaulting

My taus and levels variables contain 20 and 7 values, respectively. I can't
understand my error.

The second part of script (line graphics) it's ok, but the first part, to
create the cross section is wrong. My script, picture and ncl_filedump
output are in attachment.

I was seeing the file that Dennis send me to see the structure this file
and compare with my file, but I don't know what I'm doing wrong in the
script.

Thanks in advance,

Guilherme Martins.
-- 
------------------------------------------------------------------------------------------
Dr. Guilherme Martins
Instituto Nacional de Pesquisas Espaciais (INPE)
Centro de Ciência do Sistema Terrestre (CCST) - Prédio CES
Grupo de Superfície-Biosfera-Atmosfera (GSBA)
Telefone (INPE/CP): +55 12 3186-9520 || Celular (TIM): +55 12 98152-8580
E-mail: guilherme.martins at inpe.br || jgmsantos at gmail.com
Skype: guilherme.martins.
Homepage: https://sites.google.com/site/jgmsantos
Currículo Lattes: http://lattes.cnpq.br/5997657584785803
------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160328/d6b6aa9d/attachment.html 
-------------- next part --------------
 Copyright (C) 1995-2015 - All Rights Reserved
 University Corporation for Atmospheric Research
 NCAR Command Language Version 6.3.0
 The use of this software is governed by a License Agreement.
 See http://www.ncl.ucar.edu/ for more details.

Variable: f
Type: file
filename:	meteograma.uwnd.vwnd.air.pres.prec.t2m
path:	meteograma.uwnd.vwnd.air.pres.prec.t2m.nc
   file global attributes:
      CDI : Climate Data Interface version 1.7.1 (http://mpimet.mpg.de/cdi)
      Conventions : CF-1.4
      history : Mon Mar 28 10:55:13 2016: cdo merge meteograma.uwnd.vwnd.air.pres.prec.t2m.nc X150.163.180.183.87.7.47.56.nc oi.nc
Mon Mar 28 07:47:57 2016: ncks -O -d level,100.000000,1000.000000 -d lat,-90.000000,90.000000 -d lon,0.000000,357.500000 -d time,0,19 /Datasets/ncep.reanalysis2/pressure/rhum.1979.nc /Public/www/X150.163.180.183.87.7.47.56.nc
created 2002/03/01 by RHS (netCDF2.3)
      title : CRU TS3.22 Precipitation
      references : Information on the data is available at http://badc.nerc.ac.uk/data/cru/
      comment : Data restrictions: for academic research use only.Contact BADC for details
      contact : BADC <badc at rl.ac.uk>
      CDO : Climate Data Operators version 1.7.1 (http://mpimet.mpg.de/cdo)
      institution : NCEP
   dimensions:
      lon = 144
      lat = 73
      level = 12
      time = 20  // unlimited
   variables:
      float lon ( lon )
         standard_name :	longitude
         long_name :	longitude
         units :	degrees_east
         axis :	X

      float lat ( lat )
         standard_name :	latitude
         long_name :	latitude
         units :	degrees_north
         axis :	Y

      float level ( level )
         standard_name :	air_pressure
         long_name :	Level
         units :	millibar
         positive :	down
         axis :	Z

      double time ( time )
         standard_name :	time
         long_name :	time
         units :	hours since 1979-1-1 00:00:00
         calendar :	standard
         axis :	T

      double pre ( time, lat, lon )
         long_name :	precipitation
         units :	mm
         _FillValue :	9.969209968386869e+36
         missing_value :	9.969209968386869e+36
         correlation_decay_distance :	 450

      double tmp ( time, lat, lon )
         long_name :	near-surface temperature
         units :	degrees Celsius
         _FillValue :	9.969209968386869e+36
         missing_value :	9.969209968386869e+36
         correlation_decay_distance :	1200

      short air ( time, level, lat, lon )
         standard_name :	air_temperature
         long_name :	6-hourly Air Temperature on Pressure Levels
         units :	degK
         add_offset :	465.15
         scale_factor :	0.01
         _FillValue :	-32767
         missing_value :	-32767
         unpacked_valid_range :	( 137.5, 362.5 )
         actual_range :	( 187.8, 320.7 )
         precision :	2
         least_significant_digit :	1
         GRIB_id :	11
         GRIB_name :	TMP
         var_desc :	Air temperature
         dataset :	NCEP/DOE AMIP-II Reanalysis (Reanalysis-2)
         level_desc :	Pressure Levels
         statistic :	Individual Obs
         parent_stat :	Other

      short uwnd ( time, level, lat, lon )
         standard_name :	eastward_wind
         long_name :	6-hourly U-wind on Pressure Levels
         units :	m/s
         add_offset :	187.65
         scale_factor :	0.01
         _FillValue :	-32767
         missing_value :	-32767
         unpacked_valid_range :	( -140, 175 )
         actual_range :	( -50.1, 91.9 )
         precision :	2
         least_significant_digit :	1
         GRIB_id :	33
         GRIB_name :	UGRD
         var_desc :	u-wind
         dataset :	NCEP/DOE AMIP-II Reanalysis (Reanalysis-2)
         level_desc :	Pressure Levels
         statistic :	Individual Obs
         parent_stat :	Other

      short vwnd ( time, level, lat, lon )
         standard_name :	northward_wind
         long_name :	6-hourly V-wind on Pressure Levels
         units :	m/s
         add_offset :	187.65
         scale_factor :	0.01
         _FillValue :	-32767
         missing_value :	-32767
         unpacked_valid_range :	( -140, 175 )
         actual_range :	( -91.4, 87.6 )
         precision :	2
         least_significant_digit :	1
         GRIB_id :	34
         GRIB_name :	VGRD
         var_desc :	v-wind
         dataset :	NCEP/DOE AMIP-II Reanalysis (Reanalysis-2)
         level_desc :	Pressure Levels
         statistic :	Individual Obs
         parent_stat :	Other

      short pres ( time, lat, lon )
         standard_name :	air_pressure
         long_name :	6-Hourly Forecast of Surface Pressure
         units :	Pascals
         add_offset :	359910
         scale_factor :	10
         _FillValue :	-32767
         missing_value :	-32767
         unpacked_valid_range :	( 32250, 122750 )
         actual_range :	( 50030, 105340 )
         precision :	-1
         least_significant_digit :	-1
         GRIB_id :	1
         GRIB_name :	PRES
         var_desc :	Pressure
         dataset :	NCEP/DOE AMIP-II Reanalysis (Reanalysis-2)
         level_desc :	Surface
         statistic :	Individual Obs
         parent_stat :	Other

      short rhum ( time, level, lat, lon )
         standard_name :	relative_humidity
         long_name :	6-hourly Relative Humidity on Pressure Levels
         units :	%
         add_offset :	302.65
         scale_factor :	0.01
         _FillValue :	-32767
         missing_value :	-32767
         unpacked_valid_range :	( -25, 125 )
         actual_range :	( -1, 105 )
         precision :	2
         least_significant_digit :	0
         GRIB_id :	52
         GRIB_name :	RH
         var_desc :	Relative humidity
         dataset :	NCEP/DOE AMIP-II Reanalysis (Reanalysis-2)
         level_desc :	Pressure Levels
         statistic :	Individual Obs
         parent_stat :	Other

 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ex01_meteograma.ncl
Type: text/x-ncl
Size: 10329 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160328/d6b6aa9d/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ex01_meteograma.pdf
Type: application/pdf
Size: 102238 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160328/d6b6aa9d/attachment.pdf 


More information about the ncl-talk mailing list