[gradsusr] Plotting Model grids instead of Grads standard grids

Ricardo Hallak ricardo.hallak at iag.usp.br
Mon Apr 25 13:45:47 EDT 2016


Itesh, 

I think you just need to give a grads_name (something like alias) for your variable name: 

tasmax=>tmax 0 t,y,x Daily Maximum Near-Surface Air Temperature [K] 

In GrADS, just 
'd tmax' 

I hope this solve your problem. 

Regards, 
Ricardo 

----- Mensagem original -----

| Dear Davide and Prof. Ricardom

| Thanks for the response and sorry for the delay in reacting to those
| answers. Actually, I have tried both options setting gxout to grid
| and setting xlint and ylint to the interval from ctl file. But it
| did not help.

| Here is a sample ctl file for your reference. I want to plot the
| grids from this file directly to plot output excuding the regualr
| 1.0 degree or 0.5 degree intervals.

| ---ctl file start---
| *
| DSET
| ^tasmax_day_CCSM4_historical_19700601_20101231_lon_56_84_lat_22_39.nc
| DTYPE netCDF
| XDEF 22 LINEAR 57.500000 1.250000
| YDEF 18 LINEAR 23.089005 0.942408
| ZDEF 1 LEVELS 0
| TDEF 12989 LINEAR 12:00Z01jun1970 1dy
| TITLE
| tasmax_day_CCSM4_historical_19700601_20101231_lon_56_84_lat_22_39.nc
| 22x18 grid
| UNDEF 1e+20
| VARS 1
| tasmax 0 t,y,x Daily Maximum Near-Surface Air Temperature [K]
| ENDVARS

| ---ctl file ends--

| regards,
| Itesh

| On Fri, Apr 22, 2016 at 11:51 PM, Ricardo Hallak <
| ricardo.hallak at iag.usp.br > wrote:

| | Hi, Davide!
| 

| | I think he wants to control x and y tick labels intervals. It is
| | possible with
| 

| | "set xlint <new_interval>"
| 
| | "set xlint <new_interval>"
| 

| | before displaying fields.
| 

| | If it is not the case, so we do have to know if his xdef and ydef
| | are
| | regular lon and lat values, or something different. Maybe if Itesh
| | could send a png file as an example, and a peace of his .ctl file,
| | the question would be more clear.
| 

| | Hope this helps,
| 
| | Ricado
| 

| | | I don't know if this answer is what you were looking for,
| | 
| 
| | | to see exact grid you could use:
| | 
| 
| | | 'set gxout grid'
| | 
| 

| | | Davide
| | 
| 

| | | From: itesh dash < itesh at rimes.int >
| | 
| 
| | | To: GrADS Users Forum < gradsusr at gradsusr.org >
| | 
| 
| | | Sent: 4/21/2016 8:07 AM
| | 
| 
| | | Subject: [gradsusr] Plotting Model grids instead of Grads
| | | standard
| | | grids
| | 
| 

| | | | Dear All,
| | | 
| | 
| 

| | | | I was trying to plot the exact grid info comming from a model
| | | | (CTL
| | | | file xdef/ydef). Currently grads just puts the standard xlint
| | | | and
| | | | ylint values.
| | | 
| | 
| 

| | | | Is there any way I can avoid the standard intervals.
| | | 
| | 
| 

| | | | Sorry if it is already discussed in the forum earlier.
| | | 
| | 
| 

| | | | Regards,
| | | 
| | 
| 
| | | | Itesh
| | | 
| | 
| 

| | | | _______________________________________________
| | | 
| | 
| 
| | | | gradsusr mailing list
| | | 
| | 
| 
| | | | gradsusr at gradsusr.org
| | | 
| | 
| 
| | | | http://gradsusr.org/mailman/listinfo/gradsusr
| | | 
| | 
| 

| | | _______________________________________________
| | 
| 
| | | gradsusr mailing list
| | 
| 
| | | gradsusr at gradsusr.org
| | 
| 
| | | http://gradsusr.org/mailman/listinfo/gradsusr
| | 
| 

| | --
| 

| | Prof. Ricardo Hallak
| 
| | Laboratório de Meteorologia de Mesoescala - LMM
| 
| | Departamento de Ciências Atmosféricas
| 
| | Instituto de Astronomia, Geofísica e Ciências Atmosféricas
| 
| | Universidade de São Paulo
| 

| | Phone: +55(11)3091-4698 +55(11)3091-4698
| 

| | _______________________________________________
| 
| | gradsusr mailing list
| 
| | gradsusr at gradsusr.org
| 
| | http://gradsusr.org/mailman/listinfo/gradsusr
| 

| _______________________________________________
| gradsusr mailing list
| gradsusr at gradsusr.org
| http://gradsusr.org/mailman/listinfo/gradsusr

-- 

Prof. Ricardo Hallak 
Laboratório de Meteorologia de Mesoescala - LMM 
Departamento de Ciências Atmosféricas 
Instituto de Astronomia, Geofísica e Ciências Atmosféricas 
Universidade de São Paulo 

Phone: +55(11)3091-4698 +55(11)3091-4698 

Call 
Send SMS 
Call from mobile 
Add to Skype 
You'll need Skype Credit Free via Skype
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160425/93c9afa9/attachment.html 


More information about the gradsusr mailing list