[ncl-talk] Lambert projection rotated figure

Debasish Hazra debasish.hazra5 at gmail.com
Mon May 24 12:58:44 MDT 2021


Hi,
I am trying to plot two different projection maps of a single variable side
by side. But figure shows Lambert projection one rotated. Attached is
script, output and figure generated. Any help on how to sort this out.

Thanks
Debasish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20210524/5bcf924c/attachment-0001.html>
-------------- next part --------------
 Copyright (C) 1995-2018 - All Rights Reserved
 University Corporation for Atmospheric Research
 NCAR Command Language Version 6.5.0
 The use of this software is governed by a License Agreement.
 See http://www.ncl.ucar.edu/ for more details.
warning: Entry (201) not found in code table file /temp/eval/Debasish.Hazra/NCL65/lib/ncarg/grib2_codetables/ncep/4/4.2.0.16.table

warning: Entry (200) not found in code table file /temp/eval/Debasish.Hazra/NCL65/lib/ncarg/grib2_codetables/ncep/4/4.2.0.7.table

warning:NclGRIB2: VEG_P0_L1 contains records that NCL cannot currently differentiate. One or more records will be ignored.

warning:NclGRIB2: APCP_P8_L1 contains records that NCL cannot currently differentiate. One or more records will be ignored.

warning:NclGRIB2: WEASD_P8_L1 contains records that NCL cannot currently differentiate. One or more records will be ignored.

warning:NclGRIB2: FROZR_P8_L1 contains records that NCL cannot currently differentiate. One or more records will be ignored.

warning:NclGRIB2: FFLDRO_P8_L1 contains records that NCL cannot currently differentiate. One or more records will be ignored.

Variable: tempr1
Type: float
Total Size: 7620564 bytes
            1905141 values
Number of Dimensions: 2
Dimensions and sizes:	[ygrid_0 | 1059] x [xgrid_0 | 1799]
Coordinates: 
Number Of Attributes: 14
  center :	NOAA Forecast Systems Lab, Boulder CO
  production_status :	Research products
  long_name :	Temperature
  units :	K
  _FillValue :	1e+20
  coordinates :	gridlat_0 gridlon_0
  grid_type :	Lambert Conformal can be secant or tangent, conical or bipolar
  parameter_discipline_and_category :	Meteorological products, Temperature
  parameter_template_discipline_category_number :	( 0, 0, 0, 0 )
  level_type :	Ground or water surface
  level :	 0
  forecast_time :	0
  forecast_time_units :	hours
  initial_time :	06/01/2020 (00:00)
(0)	Temperature (K) : min=269.514   max=318.701

Variable: lat
Type: float
Total Size: 7620564 bytes
            1905141 values
Number of Dimensions: 2
Dimensions and sizes:	[ygrid_0 | 1059] x [xgrid_0 | 1799]
Coordinates: 
Number Of Attributes: 11
  corners :	( 21.13812, 21.14055, 47.84219, 47.83862 )
  long_name :	latitude
  grid_type :	Lambert Conformal (secant, tangent, conical or bipolar)
  units :	degrees_north
  Latin2 :	38.5
  Latin1 :	38.5
  Dy :	 3
  Dx :	 3
  Lov :	262.5
  Lo1 :	237.2805
  La1 :	21.13812

Variable: lon
Type: float
Total Size: 7620564 bytes
            1905141 values
Number of Dimensions: 2
Dimensions and sizes:	[ygrid_0 | 1059] x [xgrid_0 | 1799]
Coordinates: 
Number Of Attributes: 11
  corners :	( -122.7195, -72.28972, -60.91719, -134.0955 )
  long_name :	longitude
  grid_type :	Lambert Conformal (secant, tangent, conical or bipolar)
  units :	degrees_east
  Latin2 :	38.5
  Latin1 :	38.5
  Dy :	 3
  Dx :	 3
  Lov :	262.5
  Lo1 :	237.2805
  La1 :	21.13812
(0)	Temperature (K) : min=269.514   max=318.701

Variable: tempr11
Type: float
Total Size: 4152960 bytes
            1038240 values
Number of Dimensions: 2
Dimensions and sizes:	[lat_0 | 721] x [lon_0 | 1440]
Coordinates: 
            lat_0: [90..-90]
            lon_0: [ 0..359.75]
Number Of Attributes: 13
  lv_ISBL0 :	1000
  center :	US National Weather Service - NCEP (WMC)
  production_status :	Operational products
  long_name :	Temperature
  units :	K
  _FillValue :	1e+20
  grid_type :	Latitude/longitude
  parameter_discipline_and_category :	Meteorological products, Temperature
  parameter_template_discipline_category_number :	( 0, 0, 0, 0 )
  level_type :	Isobaric surface (Pa)
  forecast_time :	0
  forecast_time_units :	hours
  initial_time :	06/01/2020 (00:00)
(0)	Temperature (K) : min=188.4   max=244.9

Variable: tempr11
Type: float
Total Size: 4152960 bytes
            1038240 values
Number of Dimensions: 2
Dimensions and sizes:	[latt1 | 721] x [lonn1 | 1440]
Coordinates: 
            latt1: [-90..90]
            lonn1: [-180..179.75]
Number Of Attributes: 14
  lonFlip :	longitude coordinate variable has been reordered via lonFlip
  initial_time :	06/01/2020 (00:00)
  forecast_time_units :	hours
  forecast_time :	0
  level_type :	Isobaric surface (Pa)
  parameter_template_discipline_category_number :	( 0, 0, 0, 0 )
  parameter_discipline_and_category :	Meteorological products, Temperature
  grid_type :	Latitude/longitude
  units :	K
  long_name :	Temperature
  production_status :	Operational products
  center :	US National Weather Service - NCEP (WMC)
  lv_ISBL0 :	1000
  _FillValue :	1e+20
warning:MapPlotSetValues: tm[XB|XT|YL|YR]Mode resources are not currently enabled for MapPlot tick marks

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Projectiontest.ncl
Type: application/octet-stream
Size: 7433 bytes
Desc: not available
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20210524/5bcf924c/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test_tempr.fig.png
Type: image/png
Size: 578165 bytes
Desc: not available
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20210524/5bcf924c/attachment-0001.png>


More information about the ncl-talk mailing list