Re: Plot a regridded file and incorrect map

From: <bozkurtd_at_nyahnyahspammersnyahnyah>
Date: Fri Apr 04 2014 - 15:54:21 MDT

  Hi Adam,

You are completely right when you point at the regridding coding, because I
noticed an inconsistency between the raw netcdf file grid and grid
descriptor file, which resulted in shift. The things are correct now when
using the updated file.

Thanks,

Deniz

Alinti Adam Phillips <asphilli@ucar.edu>

> Hi Deniz,
> For rectilinear (1D latitudes/longitudes) grids, you typically do not
> want to set tfDoNDCOverlay= True, as doing that basically just places
> the data on the map without conforming to the map projection (as I
> understand it.). There is also no reason to set trYReverse = True, and
> on a more minor note you do not want to set gsnMaximize in both your
> individual plot and your panel resource lists.
>
> So, definitely remove the following lines from your script:
> res@trYReverse = True
> res@gsnMaximize = True
> res@tfDoNDCOverlay = True
>
> Even after doing this though, things are not correct as both your
> latitudes and longitudes seem inversed in some way. I took a look at
> your had_remap.nc file using ncview, and ncview confirmed what I am
> seeing in NCL, in that things look reversed.
>
> So, I would advise that you look at your regridding coding to make sure
> all is well.
>
> If your have any further questions, please respond to the entire
> ncl-talk email list.
> Adam
>
>  
> On 04/03/2014 11:34 AM, bozkurtd@itu.edu.tr wrote:
>
>> Hi,
>>
>> I regridded a raw netcdf file, which is on rotated pole coordinates,
>> over my region of interest based on the regular lat/lon coordintates.
>> By using the attached script I am trying to plot the variable over the
>> region of interest without 2D lat/lon coordinates and the map seems
>> incorrect with some shifts. When I set res@tfDoNDCOverlay=False, a
>> reversed plot appears, atlhough I set res@trYReverse=True. Am I missing
>> something? Any helps would be really appreciated. I have NCL 6.1.2 and
>> uploaded the file (had_remap.nc) in ftp server.
>>
>> Thanks in advance,
>>
>> Deniz
>>
>>  
>>
>> _______________________________________________ ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>  
> -- ______________________________________________________________ Adam
> Phillips asphilli@ucar.eduNCAR/Climate
> and Global Dynamics Division (303) 497-1726 P.O. Box 3000
> Boulder, CO 80307-3000 http://www.cgd.ucar.edu/staff/asphilli

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Apr 04 15:54:49 2014

This archive was generated by hypermail 2.1.8 : Tue Apr 15 2014 - 10:45:19 MDT