From stergios.misios at ZMAW.DE Wed Apr 1 07:42:09 2009 From: stergios.misios at ZMAW.DE (Stergios Misios) Date: Wed, 1 Apr 2009 13:42:09 +0200 Subject: about user defined extensions In-Reply-To: <6DFF8D37-4E9F-40A4-9C8E-F4406793568E@cola.iges.org> Message-ID: Dear users, I am trying to use the user defined extension? Is it an opengrads only capability because i am using grads v2.0.a4.oga.1 and q udct is not valid command. I have followed the instructions for installing UDE from OpenGrads Wiki step by step. My ultimate target is to use pygrads with IPC extension to move data between python and grads back and forth. Thank you Stergios From arlindo.dasilva at GMAIL.COM Wed Apr 1 08:10:22 2009 From: arlindo.dasilva at GMAIL.COM (Arlindo da Silva) Date: Wed, 1 Apr 2009 08:10:22 -0400 Subject: about user defined extensions In-Reply-To: <49D35311.5020309@zmaw.de> Message-ID: On Wed, Apr 1, 2009 at 7:42 AM, Stergios Misios wrote: > Dear users, > I am trying to use the user defined extension? Is it an opengrads only > capability because i am using grads v2.0.a4.oga.1 and > q udct is not valid command. > I have followed the instructions for installing UDE from OpenGrads Wiki > step by step. > My ultimate target is to use pygrads with IPC extension to move data > between python and grads back and forth. > The wiki instructions at the moment only applies to v1.9. The OpenGrADS v2.0.a5.oga.3 (and soon .oga.4) include the extensions already and require no configuration. See the INSTALL file that comes with it. (The wiki is in the process of being updated.) Arlindo -- Arlindo da Silva dasilva at alum.mit.edu From jmssnyder at UCDAVIS.EDU Thu Apr 2 01:15:30 2009 From: jmssnyder at UCDAVIS.EDU (Jason Snyder) Date: Thu, 2 Apr 2009 07:15:30 +0200 Subject: writing fortran programs to read netcdf files Message-ID: I have a series of netcdf files that I want to filter out data in terms of specific Madden Julian Oscillation indices. I am trying to design a fortran program to read netcdf so that I could do calculations with the data and write the results back into a netcdf file. In this I want to filter out all dates for a specific Madden Julian Oscillation index and then average the data to get an average zonal wind profile for that specific index of MJO and how the winds change on average several days before that date. I was wondering how to design a fortran program to read netcdf files and write netcdf files? Can someone send me an example of such a program. Thanks, jason From Chi.Nguyen at SCI.MONASH.EDU.AU Thu Apr 2 01:34:27 2009 From: Chi.Nguyen at SCI.MONASH.EDU.AU (Chi Mai Nguyen) Date: Thu, 2 Apr 2009 16:34:27 +1100 Subject: writing fortran programs to read netcdf files Message-ID: Hi Jason, I have a small program doing various things, including reading and writing from and to netcdf file. You'll need to check the code inside. Subroutine getvars => open and get variables from netcdf file subroutine w2Dh => create and output variables to a new netcdif file You will need to use netcdf libraries to complile. Cheers and good luck! Mai Jason Snyder wrote: > I have a series of netcdf files that I want to filter out data in terms > of > specific Madden Julian Oscillation indices. I am trying to design a > fortran program to read netcdf so that I could do calculations with the > data and write the results back into a netcdf file. In this I want to > filter out all dates for a specific Madden Julian Oscillation index and > then average the data to get an average zonal wind profile for that > specific index of MJO and how the winds change on average several days > before that date. I was wondering how to design a fortran program to read > netcdf files and write netcdf files? Can someone send me an example of > such a program. > > Thanks, > > jason -- ********************************* Nguyen Chi Mai School of Mathematical Sciences Rm 225, Bld. 28, Clayton Campus Monash University Work Ph. +61 3 9905 4458 www.maths.monash.edu.au/~cmnguyen -------------- next part -------------- A non-text attachment was scrubbed... Name: sig2ht.f90 Type: application/octet-stream Size: 15480 bytes Desc: not available Url : http://gradsusr.org/pipermail/gradsusr/attachments/20090402/0ae80d82/attachment.obj From jmssnyder at UCDAVIS.EDU Thu Apr 2 02:08:34 2009 From: jmssnyder at UCDAVIS.EDU (Jason Snyder) Date: Wed, 1 Apr 2009 23:08:34 -0700 Subject: writing fortran programs to read netcdf files In-Reply-To: <60.241.200.88.1238650144@my.monash.edu.au> Message-ID: I am not exactly sure where to put my input program in. I have a program of global zonal wind data, with dimensions time, latitude, longitude, pressure levels. I was under the impression and this is how I have done programs reading NetCDF in the past, that you use ncopn to open NetCDF files. I have the netcdf.inc file and ngen.h in the current directory where my program is. Here is a copy of the program as it stands right now. Can anyone help me with isolating out the problems with this program because it has been a while since I have used programs of reading and writing NetCDF files and I am a little rusty on it now. c latitude, longitude, time parameter(nlat=37,nlon=144,nyr=3288) c number of dimensions parameter(nvar=10) parameter(ndims=3) integer nci(nvar),ncid,iselvar(nvar) integer input(nvar) integer i,j,k include 'netcdf.inc' c data variables real data(nlon,nlat), count(nlon,nlat,nyr) real wnd(nlon,nlat,nyr) c grads output files parameter (undef=-9999.) c open all netcdf files nci(1)=ncopn('uwnd.2002.nc',ncnowrit,rcode) data start/1,1,1/ count(1)=nlon count(2)=nlat count(3)=1 count(3)=nyr call ncagt(ncid,id,start,count,i2dat,rcode) call ncvgt(ncid,id,start,count,i2dat,rcode) stop end Thanks, Jason On Wed, Apr 1, 2009 at 10:34 PM, Chi Mai Nguyen < Chi.Nguyen at sci.monash.edu.au> wrote: > Hi Jason, > > I have a small program doing various things, including reading and writing > from and to netcdf file. You'll need to check the code inside. > > Subroutine getvars => open and get variables from netcdf file > subroutine w2Dh => create and output variables to a new netcdif file > > You will need to use netcdf libraries to complile. > > Cheers and good luck! > Mai > > Jason Snyder wrote: > > I have a series of netcdf files that I want to filter out data in terms > > of > > specific Madden Julian Oscillation indices. I am trying to design a > > fortran program to read netcdf so that I could do calculations with the > > data and write the results back into a netcdf file. In this I want to > > filter out all dates for a specific Madden Julian Oscillation index and > > then average the data to get an average zonal wind profile for that > > specific index of MJO and how the winds change on average several days > > before that date. I was wondering how to design a fortran program to read > > netcdf files and write netcdf files? Can someone send me an example of > > such a program. > > > > Thanks, > > > > jason > -- > ********************************* > Nguyen Chi Mai > School of Mathematical Sciences > Rm 225, Bld. 28, Clayton Campus > Monash University > Work Ph. +61 3 9905 4458 > www.maths.monash.edu.au/~cmnguyen > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090401/1b0c82ed/attachment.html From jmssnyder at UCDAVIS.EDU Thu Apr 2 02:11:54 2009 From: jmssnyder at UCDAVIS.EDU (Jason Snyder) Date: Thu, 2 Apr 2009 08:11:54 +0200 Subject: fortran programs reading NetCDF Message-ID: I have a program of global zonal wind data, with dimensions time, latitude, longitude, pressure levels. I was under the impression and this is how I have done programs reading NetCDF in the past, that you use ncopn to open NetCDF files. I have the netcdf.inc file and ngen.h in the current directory where my program is. Here is a copy of the program as it stands right now. Can anyone help me with isolating out the problems with this program because it has been a while since I have used programs of reading and writing NetCDF files and I am a little rusty on it now. c latitude, longitude, time parameter(nlat=37,nlon=144,nyr=3288) c number of dimensions parameter(nvar=10) parameter(ndims=3) integer nci(nvar),ncid,iselvar(nvar) integer input(nvar) integer i,j,k include 'netcdf.inc' c data variables real data(nlon,nlat), count(nlon,nlat,nyr) real wnd(nlon,nlat,nyr) c grads output files parameter (undef=-9999.) c open all netcdf files nci(1)=ncopn('uwnd.2002.nc',ncnowrit,rcode) data start/1,1,1/ count(1)=nlon count(2)=nlat count(3)=1 count(3)=nyr call ncagt(ncid,id,start,count,i2dat,rcode) call ncvgt(ncid,id,start,count,i2dat,rcode) stop end Thanks, Jason From cdouvis at YAHOO.COM Thu Apr 2 03:48:53 2009 From: cdouvis at YAHOO.COM (Costas Douvis) Date: Thu, 2 Apr 2009 00:48:53 -0700 Subject: use R-Project to make station files In-Reply-To: <22175d30903311353u540a477dh46b4585dc0be650@mail.gmail.com> Message-ID: It worked. Thank you Luiz Rodrigo Tozzi I used size=8 for the character variables and size =4 for the real and integer variables. I didn't expect that. I thought the integers needed size=2 but that proved to be wrong. I found it easier than using Fortran :) --- On Tue, 3/31/09, Luiz Rodrigo Tozzi wrote: From: Luiz Rodrigo Tozzi Subject: Re: use R-Project to make station files To: cdouvis at yahoo.com Cc: GRADSUSR at list.cineca.it Date: Tuesday, March 31, 2009, 4:53 PM Hi Kostas I use R to read grads binary files using the function readBin("binaryfile.bin",numeric(),size=4,nlon*nlat). This R function reads it directly and I think the function "writeBin" is what you need. The function "seek" can be usefull for you too. -- Luiz Rodrigo Lins Tozzi luizrodrigotozzi at gmail.com Blog de meteorologia: http://thedealwith.blogspot.com Twitter: http://twitter.com/luiztozzi On Tue, Mar 31, 2009 at 5:27 PM, Costas Douvis wrote: > Hello > > The title says it all: It would be good for me to find a way to build > station data files using R-Project. Has anyone done that? I searched the > archive but it seems everyone is using Fortran or C > > Thanks > Kostas > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090402/4073e2cd/attachment.html From jimp at HAWAII.EDU Thu Apr 2 04:07:15 2009 From: jimp at HAWAII.EDU (James T. Potemra) Date: Wed, 1 Apr 2009 22:07:15 -1000 Subject: Reading ROMS output in GrADS In-Reply-To: <386046.45463.qm@web50208.mail.re2.yahoo.com> Message-ID: I'm trying to access output from ROMS (regional ocean model) with GrADS. The output, supposedly CF compliant netCDF, has a somewhat complicated list of variables; I've attached the output from ncdump below. Has anyone developed a data descriptor file for output such as this? Thanks, Jim ------------------- ncdump -h hiig_0331.nc ---------------------- netcdf hiig_0331 { dimensions: xi_rho = 294 ; xi_u = 293 ; xi_v = 294 ; xi_psi = 293 ; eta_rho = 194 ; eta_u = 194 ; eta_v = 193 ; eta_psi = 193 ; N = 30 ; s_rho = 30 ; s_w = 31 ; tracer = 2 ; boundary = 4 ; ocean_time = UNLIMITED ; // (25 currently) variables: int ntimes ; ntimes:long_name = "number of long time-steps" ; int ndtfast ; ndtfast:long_name = "number of short time-steps" ; double dt ; dt:long_name = "size of long time-steps" ; dt:units = "second" ; double dtfast ; dtfast:long_name = "size of short time-steps" ; dtfast:units = "second" ; double dstart ; dstart:long_name = "time stamp assigned to model initilization" ; dstart:units = "days since 2000-01-01 00:00:00" ; int nHIS ; nHIS:long_name = "number of time-steps between history records" ; int ndefHIS ; ndefHIS:long_name = "number of time-steps between the creation of history files" ; int nRST ; nRST:long_name = "number of time-steps between restart records" ; nRST:cycle = "only latest two records are maintained" ; int ntsAVG ; ntsAVG:long_name = "starting time-step for accumulation of time-averaged fields" ; int nAVG ; nAVG:long_name = "number of time-steps between time-averaged records" ; int ndefAVG ; ndefAVG:long_name = "number of time-steps between the creation of average files" ; double Falpha ; Falpha:long_name = "Power-law shape barotropic filter parameter" ; double Fbeta ; Fbeta:long_name = "Power-law shape barotropic filter parameter" ; double Fgamma ; Fgamma:long_name = "Power-law shape barotropic filter parameter" ; double tnu2(tracer) ; tnu2:long_name = "Laplacian mixing coefficient for tracers" ; tnu2:units = "meter2 second-1" ; double visc2 ; visc2:long_name = "Laplacian mixing coefficient for momentum" ; visc2:units = "meter2 second-1" ; double Akt_bak(tracer) ; Akt_bak:long_name = "background vertical mixing coefficient for tracers" ; Akt_bak:units = "meter2 second-1" ; double Akv_bak ; Akv_bak:long_name = "background vertical mixing coefficient for momentum" ; Akv_bak:units = "meter2 second-1" ; double Akk_bak ; Akk_bak:long_name = "background vertical mixing coefficient for turbulent energy" ; Akk_bak:units = "meter2 second-1" ; double Akp_bak ; Akp_bak:long_name = "background vertical mixing coefficient for length scale" ; Akp_bak:units = "meter2 second-1" ; double rdrg ; rdrg:long_name = "linear drag coefficient" ; rdrg:units = "meter second-1" ; double rdrg2 ; rdrg2:long_name = "quadratic drag coefficient" ; double Zob ; Zob:long_name = "bottom roughness" ; Zob:units = "meter" ; double Zos ; Zos:long_name = "surface roughness" ; Zos:units = "meter" ; double gls_p ; gls_p:long_name = "stability exponent" ; double gls_m ; gls_m:long_name = "turbulent kinetic energy exponent" ; double gls_n ; gls_n:long_name = "turbulent length scale exponent" ; double gls_cmu0 ; gls_cmu0:long_name = "stability coefficient" ; double gls_c1 ; gls_c1:long_name = "shear production coefficient" ; double gls_c2 ; gls_c2:long_name = "dissipation coefficient" ; double gls_c3m ; gls_c3m:long_name = "buoyancy production coefficient (minus)" ; double gls_c3p ; gls_c3p:long_name = "buoyancy production coefficient (plus)" ; double gls_sigk ; gls_sigk:long_name = "constant Schmidt number for TKE" ; double gls_sigp ; gls_sigp:long_name = "constant Schmidt number for PSI" ; double gls_Kmin ; gls_Kmin:long_name = "minimum value of specific turbulent kinetic energy" ; double gls_Pmin ; gls_Pmin:long_name = "minimum Value of dissipation" ; double Znudg ; Znudg:long_name = "free-surface nudging/relaxation inverse time scale" ; Znudg:units = "day-1" ; double M2nudg ; M2nudg:long_name = "2D momentum nudging/relaxation inverse time scale" ; M2nudg:units = "day-1" ; double M3nudg ; M3nudg:long_name = "3D momentum nudging/relaxation inverse time scale" ; M3nudg:units = "day-1" ; double Tnudg(tracer) ; Tnudg:long_name = "Tracers nudging/relaxation inverse time scale" ; Tnudg:units = "day-1" ; double FSobc_in(boundary) ; FSobc_in:long_name = "free-surface inflow, nudging inverse time scale" ; FSobc_in:units = "second-1" ; double FSobc_out(boundary) ; FSobc_out:long_name = "free-surface outflow, nudging inverse time scale" ; FSobc_out:units = "second-1" ; double M2obc_in(boundary) ; M2obc_in:long_name = "2D momentum inflow, nudging inverse time scale" ; M2obc_in:units = "second-1" ; double M2obc_out(boundary) ; M2obc_out:long_name = "2D momentum outflow, nudging inverse time scale" ; M2obc_out:units = "second-1" ; double Tobc_in(boundary, tracer) ; Tobc_in:long_name = "tracers inflow, nudging inverse time scale" ; Tobc_in:units = "second-1" ; double Tobc_out(boundary, tracer) ; Tobc_out:long_name = "tracers outflow, nudging inverse time scale" ; Tobc_out:units = "second-1" ; double M3obc_in(boundary) ; M3obc_in:long_name = "3D momentum inflow, nudging inverse time scale" ; M3obc_in:units = "second-1" ; double M3obc_out(boundary) ; M3obc_out:long_name = "3D momentum outflow, nudging inverse time scale" ; M3obc_out:units = "second-1" ; double rho0 ; rho0:long_name = "mean density used in Boussinesq approximation" ; rho0:units = "kilogram meter-3" ; double gamma2 ; gamma2:long_name = "slipperiness parameter" ; char spherical ; spherical:long_name = "grid type logical switch" ; spherical:option_T = "spherical" ; spherical:option_F = "Cartesian" ; double xl ; xl:long_name = "domain length in the XI-direction" ; xl:units = "meter" ; double el ; el:long_name = "domain length in the ETA-direction" ; el:units = "meter" ; double theta_s ; theta_s:long_name = "S-coordinate surface control parameter" ; double theta_b ; theta_b:long_name = "S-coordinate bottom control parameter" ; double Tcline ; Tcline:long_name = "S-coordinate surface/bottom layer width" ; Tcline:units = "meter" ; double hc ; hc:long_name = "S-coordinate parameter, critical depth" ; hc:units = "meter" ; double s_rho(s_rho) ; s_rho:long_name = "S-coordinate at RHO-points" ; s_rho:valid_min = -1. ; s_rho:valid_max = 0. ; s_rho:standard_name = "ocean_s_coordinate" ; s_rho:formula_terms = "s: s_rho eta: zeta depth: h a: theta_s b: theta_b depth_c: hc" ; s_rho:field = "s_rho, scalar" ; double s_w(s_w) ; s_w:long_name = "S-coordinate at W-points" ; s_w:valid_min = -1. ; s_w:valid_max = 0. ; s_w:standard_name = "ocean_s_coordinate" ; s_w:formula_terms = "s: s_w eta: zeta depth: h a: theta_s b: theta_b depth_c: hc" ; s_w:field = "s_w, scalar" ; double Cs_r(s_rho) ; Cs_r:long_name = "S-coordinate stretching curves at RHO-points" ; Cs_r:valid_min = -1. ; Cs_r:valid_max = 0. ; Cs_r:field = "Cs_r, scalar" ; double Cs_w(s_w) ; Cs_w:long_name = "S-coordinate stretching curves at W-points" ; Cs_w:valid_min = -1. ; Cs_w:valid_max = 0. ; Cs_w:field = "Cs_w, scalar" ; double h(eta_rho, xi_rho) ; h:long_name = "bathymetry at RHO-points" ; h:units = "meter" ; h:coordinates = "lon_rho lat_rho" ; h:field = "bath, scalar" ; double f(eta_rho, xi_rho) ; f:long_name = "Coriolis parameter at RHO-points" ; f:units = "second-1" ; f:coordinates = "lon_rho lat_rho" ; f:field = "coriolis, scalar" ; double pm(eta_rho, xi_rho) ; pm:long_name = "curvilinear coordinate metric in XI" ; pm:units = "meter-1" ; pm:coordinates = "lon_rho lat_rho" ; pm:field = "pm, scalar" ; double pn(eta_rho, xi_rho) ; pn:long_name = "curvilinear coordinate metric in ETA" ; pn:units = "meter-1" ; pn:coordinates = "lon_rho lat_rho" ; pn:field = "pn, scalar" ; double lon_rho(eta_rho, xi_rho) ; lon_rho:long_name = "longitude of RHO-points" ; lon_rho:units = "degree_east" ; lon_rho:field = "lon_rho, scalar" ; double lat_rho(eta_rho, xi_rho) ; lat_rho:long_name = "latitude of RHO-points" ; lat_rho:units = "degree_north" ; lat_rho:field = "lat_rho, scalar" ; double lon_u(eta_u, xi_u) ; lon_u:long_name = "longitude of U-points" ; lon_u:units = "degree_east" ; lon_u:field = "lon_u, scalar" ; double lat_u(eta_u, xi_u) ; lat_u:long_name = "latitude of U-points" ; lat_u:units = "degree_north" ; lat_u:field = "lat_u, scalar" ; double lon_v(eta_v, xi_v) ; lon_v:long_name = "longitude of V-points" ; lon_v:units = "degree_east" ; lon_v:field = "lon_v, scalar" ; double lat_v(eta_v, xi_v) ; lat_v:long_name = "latitude of V-points" ; lat_v:units = "degree_north" ; lat_v:field = "lat_v, scalar" ; double lon_psi(eta_psi, xi_psi) ; lon_psi:long_name = "longitude of PSI-points" ; lon_psi:units = "degree_east" ; lon_psi:field = "lon_psi, scalar" ; double lat_psi(eta_psi, xi_psi) ; lat_psi:long_name = "latitude of PSI-points" ; lat_psi:units = "degree_north" ; lat_psi:field = "lat_psi, scalar" ; double angle(eta_rho, xi_rho) ; angle:long_name = "angle between XI-axis and EAST" ; angle:units = "radians" ; angle:coordinates = "lon_rho lat_rho" ; angle:field = "angle, scalar" ; double mask_rho(eta_rho, xi_rho) ; mask_rho:long_name = "mask on RHO-points" ; mask_rho:option_0 = "land" ; mask_rho:option_1 = "water" ; mask_rho:coordinates = "lon_rho lat_rho" ; double mask_u(eta_u, xi_u) ; mask_u:long_name = "mask on U-points" ; mask_u:option_0 = "land" ; mask_u:option_1 = "water" ; mask_u:coordinates = "lon_u lat_u" ; double mask_v(eta_v, xi_v) ; mask_v:long_name = "mask on V-points" ; mask_v:option_0 = "land" ; mask_v:option_1 = "water" ; mask_v:coordinates = "lon_v lat_v" ; double mask_psi(eta_psi, xi_psi) ; mask_psi:long_name = "mask on psi-points" ; mask_psi:option_0 = "land" ; mask_psi:option_1 = "water" ; mask_psi:coordinates = "lon_psi lat_psi" ; double ocean_time(ocean_time) ; ocean_time:long_name = "time since initialization" ; ocean_time:units = "seconds since 2000-01-01 00:00:00" ; ocean_time:calendar = "gregorian" ; ocean_time:field = "time, scalar, series" ; float zeta(ocean_time, eta_rho, xi_rho) ; zeta:long_name = "free-surface" ; zeta:units = "meter" ; zeta:time = "ocean_time" ; zeta:coordinates = "lon_rho lat_rho ocean_time" ; zeta:field = "free-surface, scalar, series" ; float ubar(ocean_time, eta_u, xi_u) ; ubar:long_name = "vertically integrated u-momentum component" ; ubar:units = "meter second-1" ; ubar:time = "ocean_time" ; ubar:coordinates = "lon_u lat_u ocean_time" ; ubar:field = "ubar-velocity, scalar, series" ; float DU_avg1(ocean_time, eta_u, xi_u) ; DU_avg1:long_name = "time averaged u-flux for 2D equations" ; DU_avg1:units = "meter3 second-1" ; DU_avg1:time = "ocean_time" ; DU_avg1:coordinates = "lon_u lat_u ocean_time" ; DU_avg1:field = "DU_avg1, scalar, series" ; float DU_avg2(ocean_time, eta_u, xi_u) ; DU_avg2:long_name = "time averaged u-flux for 3D equations coupling" ; DU_avg2:units = "meter3 second-1" ; DU_avg2:time = "ocean_time" ; DU_avg2:coordinates = "lon_u lat_u ocean_time" ; DU_avg2:field = "DU_avg2, scalar, series" ; float vbar(ocean_time, eta_v, xi_v) ; vbar:long_name = "vertically integrated v-momentum component" ; vbar:units = "meter second-1" ; vbar:time = "ocean_time" ; vbar:coordinates = "lon_v lat_v ocean_time" ; vbar:field = "vbar-velocity, scalar, series" ; float DV_avg1(ocean_time, eta_v, xi_v) ; DV_avg1:long_name = "time averaged v-flux for 2D equations" ; DV_avg1:units = "meter3 second-1" ; DV_avg1:time = "ocean_time" ; DV_avg1:coordinates = "lon_v lat_v ocean_time" ; DV_avg1:field = "DV_avg1, scalar, series" ; float DV_avg2(ocean_time, eta_v, xi_v) ; DV_avg2:long_name = "time averaged v-flux for 3D equations coupling" ; DV_avg2:units = "meter3 second-1" ; DV_avg2:time = "ocean_time" ; DV_avg2:coordinates = "lon_v lat_v ocean_time" ; DV_avg2:field = "DV_avg2, scalar, series" ; float u(ocean_time, s_rho, eta_u, xi_u) ; u:long_name = "u-momentum component" ; u:units = "meter second-1" ; u:time = "ocean_time" ; u:coordinates = "lon_u lat_u s_rho ocean_time" ; u:field = "u-velocity, scalar, series" ; float v(ocean_time, s_rho, eta_v, xi_v) ; v:long_name = "v-momentum component" ; v:units = "meter second-1" ; v:time = "ocean_time" ; v:coordinates = "lon_v lat_v s_rho ocean_time" ; v:field = "v-velocity, scalar, series" ; float w(ocean_time, s_w, eta_rho, xi_rho) ; w:long_name = "vertical momentum component" ; w:units = "meter second-1" ; w:time = "ocean_time" ; w:coordinates = "lon_rho lat_rho s_w ocean_time" ; w:field = "w-velocity, scalar, series" ; float omega(ocean_time, s_w, eta_rho, xi_rho) ; omega:long_name = "S-coordinate vertical momentum component" ; omega:units = "meter3 second-1" ; omega:time = "ocean_time" ; omega:coordinates = "lon_rho lat_rho s_w ocean_time" ; omega:field = "omega, scalar, series" ; float temp(ocean_time, s_rho, eta_rho, xi_rho) ; temp:long_name = "potential temperature" ; temp:units = "Celsius" ; temp:time = "ocean_time" ; temp:coordinates = "lon_rho lat_rho s_rho ocean_time" ; temp:field = "temperature, scalar, series" ; float salt(ocean_time, s_rho, eta_rho, xi_rho) ; salt:long_name = "salinity" ; salt:time = "ocean_time" ; salt:coordinates = "lon_rho lat_rho s_rho ocean_time" ; salt:field = "salinity, scalar, series" ; float AKv(ocean_time, s_w, eta_rho, xi_rho) ; AKv:long_name = "vertical viscosity coefficient" ; AKv:units = "meter2 second-1" ; AKv:time = "ocean_time" ; AKv:coordinates = "lon_rho lat_rho s_w ocean_time" ; AKv:field = "AKv, scalar, series" ; float AKt(ocean_time, s_w, eta_rho, xi_rho) ; AKt:long_name = "temperature vertical diffusion coefficient" ; AKt:units = "meter2 second-1" ; AKt:time = "ocean_time" ; AKt:coordinates = "lon_rho lat_rho s_w ocean_time" ; AKt:field = "AKt, scalar, series" ; float AKs(ocean_time, s_w, eta_rho, xi_rho) ; AKs:long_name = "salinity vertical diffusion coefficient" ; AKs:units = "meter2 second-1" ; AKs:time = "ocean_time" ; AKs:coordinates = "lon_rho lat_rho s_w ocean_time" ; AKs:field = "AKs, scalar, series" ; // global attributes: :type = "ROMS/TOMS history file" ; :Conventions = "CF-1.0" ; :title = "NLM HI-POOIS ISLAND GRID (4km)" ; :var_info = "varinfo.dat" ; :rst_file = "hiig_rst.nc" ; :his_file = "hiig_his.nc" ; :avg_file = "hiig_avg.nc" ; :grd_file = "../grid/roms-hiig-grid-ncom.nc" ; :ini_file = "ini.nc" ; :frc_file_01 = "hiig-frc.nc" ; :bry_file = "hiig-bry.nc" ; :clm_file = "hiig-clim.nc" ; :script_file = "/share/observer/ocean/hioos/work/ocean.in" ; :svn_url = "" ; :svn_rev = "svn: $LastChangedRevision$" ; :code_dir = "/share/observer/ocean/roms/src" ; :header_dir = "/share/observer/ocean/hioos/roms/nlm-hiig" ; :header_file = "hiig.h" ; :os = "Linux" ; :cpu = "x86_64" ; :compiler_system = "ifort" ; :compiler_command = "/usr/mpi/intel/openmpi-2.2/bin/mpif90" ; :compiler_flags = " -ip -O3 -i_dynamic -xT -free" ; :tiling = "004x002" ; :history = "ROMS/TOMS, Version 3.0, Tuesday - March 31, 2009 - 7:47:06 AM" ; :ana_file = "/share/observer/ocean/hioos/roms/nlm-hiig/../../include/ana_btflux.h, /share/observer/ocean/hioos/roms/nlm-hiig/../../include/ana_nudgcoef.h" ; :CPP_options = "HIIG, ANA_BSFLUX, ANA_BTFLUX, ASSUMED_SHAPE, AVERAGES, AVERAGES_FLUXES, BULK_FLUXES, CURVGRID, DJ_GRADPS, DOUBLE_PRECISION, EAST_FSCHAPMAN, EAST_M2FLATHER, EAST_M3NUDGING, EAST_M3RADIATION, EAST_TNUDGING, EAST_TRADIATION, EMINUSP, FORWARD_WRITE, GLS_MIXING, KANTHA_CLAYSON, LONGWAVE_OUT, M2CLIMATOLOGY, M2CLM_NUDGING, M3CLIMATOLOGY, M3CLM_NUDGING, MASKING, MIX_GEO_TS, MIX_S_UV, MPI, NONLINEAR, NONLIN_EOS, NORTH_FSCHAPMAN, NORTH_M2FLATHER, NORTH_M3NUDGING, NORTH_M3RADIATION, NORTH_TNUDGING, NORTH_TRADIATION, N2S2_HORAVG, POWER_LAW, PROFILE, K_GSCHEME, RADIATION_2D, !RST_SINGLE, SALINITY, SOLAR_SOURCE, SOLVE3D, SOUTH_FSCHAPMAN, SOUTH_M2FLATHER, SOUTH_M3NUDGING, SOUTH_M3RADIATION, SOUTH_TNUDGING, SOUTH_TRADIATION, SPLINES, TCLIMATOLOGY, TCLM_NUDGING, TS_U3HADVECTION, TS_C4VADVECTION, TS_DIF2, UV_ADV, UV_COR, UV_U3HADVECTION, UV_C4VADVECTION, UV_QDRAG, UV_VIS2, VAR_RHO_2D, WEST_FSCHAPMAN, WEST_M2FLATHER, WEST_M3NUDGING, WEST_M3RADIATION, WEST_TNUDGING, WEST_TRADIATION, ZCLIMATOLOGY, ZCLM_NUDGING," ;} From dasilva at OPENGRADS.ORG Thu Apr 2 09:49:27 2009 From: dasilva at OPENGRADS.ORG (Arlindo da Silva) Date: Thu, 2 Apr 2009 09:49:27 -0400 Subject: Opengrads 64bit In-Reply-To: <000801c9b393$d715e2f0$0903cad9@pc> Message-ID: On Thu, Apr 2, 2009 at 9:06 AM, MeteoRiccione wrote: > Hi Dasilva, > I use your opengrads-2.0.a5.oga.3-bundle-i686-pc-linux-gnu.tar.gz version > and it works very well. > I have a problem, however, when I must plot maps with a grib1 file greater > then 2 Gb (I already use a 64 bit version of wgrib). > Grads-2.0.a5.oga.3-bundle-i686-pc-linux-gnu.tar.gz is a 32 bit version? Yes. > Is possible a x86_64 bit version especially for "grads" and "wgrib" > executables or a new x86_64 bit bundle for Intel? > I saw that there is a x86_64 bit version for AMD64 but I have Intel AMD64 is how sourceforge refers to 64-bit for intel/amd64. The "IA64" builds usually do not work on x86_64. Basically, do a % uname -m x86_64 and use the tarball that correspond to this hardware; ignore the AMD64. The x86_64 binaries should work on your hardware. Note: If it complains about missing .so libraries see my recent post on gradsusr for a way to supply these missing libraries. Arlindo -- Arlindo da Silva dasilva at alum.mit.edu From nelsonrpires at GMAIL.COM Thu Apr 2 14:22:01 2009 From: nelsonrpires at GMAIL.COM (Nelson Pires) Date: Thu, 2 Apr 2009 19:22:01 +0100 Subject: station data using grads Message-ID: Hello to everyone, I'm trying to plot my station data using grads, my .txt file follow the rules from grads guide and looks like: 2007 04 16 00 acor 43.3644 -8.398930 2429.80 2324.90 104.90 2007 04 16 00 alac 38.3389 -0.481229 2447.60 2320.60 127.00 2007 04 16 00 alco 38.7853 -8.872930 2449.60 2312.70 136.90 2007 04 16 00 alme 36.8525 -2.459450 2436.70 2302.40 134.30 2007 04 16 00 arra 38.4928 -8.961100 2353.70 2225.10 128.60 2007 04 16 00 beje 37.9982 -7.865400 2383.70 2251.70 132.00 2007 04 16 00 bell 41.5996 1.401140 2210.50 2114.60 95.90 2007 04 16 00 cace 39.4789 -6.341780 2341.20 2222.60 118.60 2007 04 16 00 cant 43.4720 -3.798060 2429.00 2320.20 108.80 2007 04 16 00 casc 38.6934 -9.418520 2442.30 2314.50 127.80 2007 04 16 00 cerc 37.7898 -8.713170 2358.20 2229.80 128.40 2007 04 16 00 chav 41.7518 -7.472670 2336.10 2222.80 113.30 2007 04 16 00 coba 37.9156 -4.721110 2414.00 2282.00 132.00 2007 04 16 00 coim 40.2059 -8.417960 2412.50 2292.60 119.90 2007 04 16 00 creu 42.3188 3.315600 2415.90 2301.20 114.70 2007 04 16 00 ebre 40.8209 0.492363 2443.00 2310.50 132.50 2007 04 16 00 espi 40.9760 -8.643380 2444.60 2319.50 125.10 2007 04 16 00 evor 38.5681 -7.904350 2356.60 2241.40 115.20 2007 04 16 00 faro 37.0164 -7.937500 2442.30 2311.70 130.60 2007 04 16 00 gaia 41.1060 -8.589090 2374.30 2262.10 112.20 2007 04 16 00 glsv 50.3642 30.496700 2313.40 2279.30 34.10 2007 04 16 00 gras 43.7547 6.920570 2041.60 1996.00 45.60 2007 04 16 00 lago 37.0989 -8.668380 2445.60 2314.30 131.30 2007 04 16 00 leir 39.7273 -8.805330 2408.90 2290.10 118.80 2007 04 16 00 lliv 42.4781 1.973050 2047.60 1964.00 83.60 2007 04 16 00 mala 36.7261 -4.393530 2446.20 2301.90 144.30 2007 04 16 00 mall 39.5526 2.624560 2455.10 2314.80 140.30 2007 04 16 00 mate 40.6491 16.704500 2243.10 2181.50 61.60 2007 04 16 00 pdel 37.7477 -25.662800 2409.00 2312.50 96.50 2007 04 16 00 pvar 41.3904 -8.738250 2431.00 2313.40 117.60 2007 04 16 00 reyk 64.1388 -21.955500 2314.50 2260.20 54.30 2007 04 16 00 rioj 42.4580 -2.502130 2328.80 2210.10 118.70 2007 04 16 00 sala 40.9451 -5.495860 2216.30 2117.90 98.40 2007 04 16 00 sfer 36.4643 -6.205650 2443.10 2306.90 136.20 2007 04 16 00 sjac 40.6602 -8.734800 2447.60 2320.20 127.40 2007 04 16 00 trab 40.9947 39.775600 2368.30 2255.50 112.80 2007 04 16 00 vale 39.4808 -0.337647 2446.00 2318.20 127.80 2007 04 16 00 vigo 42.1840 -8.813070 2438.00 2316.80 121.20 2007 04 16 00 vill 40.4436 -3.951980 2259.80 2170.40 89.40 2007 04 16 00 vnov 38.6786 -8.457010 2402.50 2276.70 125.80 2007 04 16 00 yebe 40.5249 -3.088630 2162.30 2087.70 74.60 2007 04 16 00 zara 41.6334 -0.882161 2375.20 2261.90 113.30 2007 04 16 02 acor 43.3644 -8.398930 2440.90 2324.50 116.40 2007 04 16 02 alac 38.3389 -0.481229 2447.90 2319.90 128.00 2007 04 16 02 alco 38.7853 -8.872930 2449.50 2312.00 137.50 2007 04 16 02 alme 36.8525 -2.459450 2436.00 2301.40 134.60 2007 04 16 02 arra 38.4928 -8.961100 2351.60 2224.40 127.20 2007 04 16 02 beje 37.9982 -7.865400 2371.00 2250.90 120.10 2007 04 16 02 bell 41.5996 1.401140 2196.50 2113.70 82.80 2007 04 16 02 cace 39.4789 -6.341780 2347.90 2222.00 125.90 2007 04 16 02 cant 43.4720 -3.798060 2430.50 2319.80 110.70 2007 04 16 02 casc 38.6934 -9.418520 2436.80 2313.80 123.00 2007 04 16 02 cerc 37.7898 -8.713170 2353.80 2229.00 124.80 2007 04 16 02 chav 41.7518 -7.472670 2330.90 2222.50 108.40 2007 04 16 02 coba 37.9156 -4.721110 2404.00 2281.20 122.80 2007 04 16 02 coim 40.2059 -8.417960 2409.90 2292.10 117.80 2007 04 16 02 creu 42.3188 3.315600 2422.60 2300.30 122.30 2007 04 16 02 ebre 40.8209 0.492363 2417.50 2309.50 108.00 2007 04 16 02 espi 40.9760 -8.643380 2445.40 2319.00 126.40 2007 04 16 02 evor 38.5681 -7.904350 2356.60 2240.70 115.90 2007 04 16 02 faro 37.0164 -7.937500 2445.50 2310.80 134.70 2007 04 16 02 gaia 41.1060 -8.589090 2377.70 2261.60 116.10 2007 04 16 02 glsv 50.3642 30.496700 2310.30 2278.80 31.50 2007 04 16 02 gras 43.7547 6.920570 2031.20 1995.60 35.60 2007 04 16 02 lago 37.0989 -8.668380 2446.70 2313.40 133.30 2007 04 16 02 leir 39.7273 -8.805330 2414.60 2289.50 125.10 2007 04 16 02 lliv 42.4781 1.973050 2036.80 1963.20 73.60 2007 04 16 02 mala 36.7261 -4.393530 2440.00 2300.70 139.30 2007 04 16 02 mall 39.5526 2.624560 2451.10 2314.00 137.10 2007 04 16 02 mate 40.6491 16.704500 2243.20 2180.60 62.60 2007 04 16 02 pdel 37.7477 -25.662800 2404.90 2311.30 93.60 2007 04 16 02 pvar 41.3904 -8.738250 2432.10 2312.90 119.20 2007 04 16 02 reyk 64.1388 -21.955500 2328.70 2266.10 62.60 2007 04 16 02 rioj 42.4580 -2.502130 2323.90 2209.80 114.10 2007 04 16 02 sala 40.9451 -5.495860 2196.90 2117.40 79.50 2007 04 16 02 sfer 36.4643 -6.205650 2439.00 2305.70 133.30 2007 04 16 02 sjac 40.6602 -8.734800 2447.90 2319.70 128.20 2007 04 16 02 trab 40.9947 39.775600 2366.70 2256.80 109.90 2007 04 16 02 vale 39.4808 -0.337647 2439.90 2317.30 122.60 2007 04 16 02 vigo 42.1840 -8.813070 2435.00 2316.30 118.70 2007 04 16 02 vill 40.4436 -3.951980 2254.80 2169.80 85.00 2007 04 16 02 vnov 38.6786 -8.457010 2404.20 2276.00 128.20 2007 04 16 02 yebe 40.5249 -3.088630 2165.30 2087.10 78.20 2007 04 16 02 zara 41.6334 -0.882161 2395.20 2261.30 133.90 year | month | day | hour | stationame | lat | long | p1 | p2 | p3 so i have 3 parameters for all the stations every 2 hours. to make my bin file i'm using the recipe from opengrads cookbooks in http://cookbooks.opengrads.org/index.php?title=Recipe-013:_Gridding_and_Plotting_Station_Data and my .ctl file looks like DSET ^zcat_stations_teste.dat DTYPE station STNMAP zcat_stations_teste.map UNDEF 1.e35 TITLE Iberia Tropo TDEF 24 linear 16apr2007 2hr VARS 3 ztd 0 0 Zenith Total Delay zhd 0 0 Zenith Hydrostatic Delay zwd 0 0 Zenith Wet Delay ENDVARS the problem is when i run stnmap it gives me the error following, _____________________________________________________ Name of binary data set: zcat_stations_teste.dat Number of times in the data set: 24 Number of surface variables: 3 Number of level dependent variables: 0 Starting scan of station data binary file. Binary data file open: zcat_stations_teste.dat Processing time step 1 Invalid station hdr found in station binary file Possible causes: Invalid level count in hdr Descriptor file mismatch File not station data Invalid relative time levs = 1159264666 flag = 537473072 time = 1.4013e-45 _____________________________________________________ any help will be much appreciated, thanks in advance, Nelson Pires. From roop_saini at STUDENT.UML.EDU Thu Apr 2 14:58:35 2009 From: roop_saini at STUDENT.UML.EDU (Roop) Date: Thu, 2 Apr 2009 20:58:35 +0200 Subject: low level I/O error Message-ID: Hi, I am getting the following error beyond t=169: Low Level I/O Error: Read error on data file Data File name = boxave_gpcp.r4 Error reading 13 bytes at location 24180 Data Request Error: Error for variable 'gpcp' Error occurred at column 1 Display error: Invalid expression Expression = gpcp I am using GrADS 1.9.0-rc1 on a PC. My control file looks like: dset ^boxave_gpcp.r4 undef -99999.0 title GPCP data xdef 13 linear 71.25 2.5 ydef 11 linear 6.25 2.5 tdef 264 linear Jan1960 1mo zdef 01 levels 1 vars 1 gpcp 0 99 monsoon onset GPCP endvars I am trying to average "precipitation" over a certain area. In case, you would like to know what my Fortran program looks like: Program Box Average parameter(nx=144) parameter(ny=72) parameter(nt=264) ! parameter(nlon=13) ! parameter(nlat=11) parameter(lon1=30) parameter(lon2=42) parameter(lat1=39) parameter(lat2=49) parameter(undef=-99999.0) integer ix integer iy integer it real gpcp(nx,ny,nt) real gpcp_ave(nt) real count(nt) open(13,file="anomaly_gpcp.r4",form="unformatted", & recl=nx*ny*nt*4) read(13,rec=1)gpcp do it=1,nt count(it)=0.0 gpcp_ave(it)=0.0 enddo do ix=lon1,lon2 do iy=lat1,lat2 do it=1,nt if(gpcp(ix,iy,it).ne.undef) then gpcp_ave(it)=gpcp_ave(it)+gpcp(ix,iy,it) count(it)=count(it)+1.0 endif enddo enddo enddo do it=1,nt gpcp_ave(it)=gpcp_ave(it)/count(it) enddo open(24,file="boxave_gpcp.r4",form="unformatted", & recl=nt*4) write(24,rec=1)gpcp_ave write(*,*)"Completed GPCP Box Average" stop end Can anyone help me as to what is the problem? Thanks, Roop. From stergios.misios at ZMAW.DE Thu Apr 2 15:45:42 2009 From: stergios.misios at ZMAW.DE (Stergios Misios) Date: Thu, 2 Apr 2009 21:45:42 +0200 Subject: writing fortran programs to read netcdf files In-Reply-To: <20090402051634.8EDC320744@mx2.cineca.it> Message-ID: hi Find bellow an example for reading a variable which is assumed to have a (lon,lat,lev,time) format from a netcdf file. I am programming with netcdf F90 library. You must have it somewhere. When you compile (lets say intel compiler) ifort -I/sw/etch-ia32/netcdf-3.6.2-intel/include -L/sw/etch-ia32/netcdf-3.6.2-intel/lib -lnetcdff -lnetcdf In my case i use the netcdf-3.6.2 netcdf library The writing can be done with something similar, i guess... fname : the netcdf file var_name: the variable you 'd like to extract ff: the matrix ist : the number of time step I hope it helps, Stergios p.s. You may consider to use for IO only purpose something less complicated like Python and PyNGL module while make the filtering in a Fortran environment... ================================================ SUBROUTINE readstepnc4(fname,var_name,ff,ist) ! A condensed way to read a variable form netcdf file ! it is implied that the format is ff(lon,lat,lev,timesteps) ! Author: Stergios Misios, Nov-2008 IMPLICIT NONE ! declare calling variables CHARACTER(LEN=*),INTENT(in) :: fname CHARACTER(LEN=*),INTENT(in) :: var_name REAL,DIMENSION(:,:,:),INTENT(out) :: ff INTEGER,INTENT(in) :: ist ! declare local variables INTEGER :: nc_id,var_id,ndim,nvar,nattr,unlim_id,fmt CHARACTER(LEN=15) ::dname INTEGER :: dlength REAL,DIMENSION(:,:,:),ALLOCATABLE::var_dummy INTEGER :: ii,status,lo,la,le,ti REAL :: sf,ofs CALL check(nf90_open(fname,nf90_nowrite,nc_id)) CALL check(nf90_inquire(nc_id,ndim,nvar)) ! take the dimension names and lengths DO ii=1,ndim CALL check(NF90_INQUIRE_DIMENSION(nc_id,ii,dname,len=dlength)) SELECT CASE (TRIM(dname)) CASE ('lon','LON','Lon','Longitude','longitude','LONGITUDE') lo=dlength CASE ('lat','LAT','Lat','Latitude','latitude','LATITUDE') la=dlength CASE ('lev','Lev','LEV','level','levelist','Level') le=dlength CASE ('time','Time','TIME') ti=dlength CASE DEFAULT PRINT*,' Error while reading dimensions....' PRINT*,' Some dimensions are missing. ' PRINT*,' The program is terminating....';STOP END SELECT END DO ! allocate the matrix for reading data. The definition is ! var_dummy(nlon,lat,nlev,timesteps) ALLOCATE(var_dummy(lo,la,le)) ! Read all data CALL check(nf90_inq_varid(nc_id,TRIM(var_name),var_id)) CALL check(nf90_get_var(nc_id,var_id,var_dummy,start=(/1,1,1,ist/),count=(/lo,la,le,1/))) ! asking if there are the scale_factor and add_offset attributes status = nf90_get_att(nc_id,var_id,"scale_factor",sf) IF (status == -43) sf=1.0 status = nf90_get_att(nc_id,var_id,"add_offset",ofs) IF (status == -43) ofs = 0.0 ff=sf*var_dummy+ofs call check(nf90_close(nc_id)) PRINT*,'Reading step ',ist PRINT*,'' DEALLOCATE(var_dummy) END SUBROUTINE readstepnc4 From dbcl at CEH.AC.UK Fri Apr 3 04:25:15 2009 From: dbcl at CEH.AC.UK (Douglas Clark) Date: Fri, 3 Apr 2009 09:25:15 +0100 Subject: low level I/O error Message-ID: Roop, It looks as if you are writing 264 values from FORTRAN (i.e. gpcp_ave(1:264)), but the ctl file has nx=13, ny=11,nt=264, instead of nx=ny=1. Some other points: * form='unformatted' creates a sequential access file by default (I think - check your file size and if it appears to be 8B larger than expected you've probably got a sequuential file with start and end of record values), in which case you need an "options sequential" record in your ctl file (see under control file at http://grads.iges.org/grads/gadoc/gadocindex.html ). Personally I'd specify access='direct' in the FORTRAN to create a direct access file, which makes the file structure marginally simpler and avoids the need for the ctl file "options" stuff. Indeed I have just seen under the documentation for "options sequential" that "If your gridded data is written in sequential format, then each record must be an X-Y varying grid" whereas you currently write all times to a single record. Looks as if it would be easier to go for direct access FORTRAN output! Doug >>> roop_saini at STUDENT.UML.EDU 02/04/2009 19:58 >>> Hi, I am getting the following error beyond t=169: Low Level I/O Error: Read error on data file Data File name = boxave_gpcp.r4 Error reading 13 bytes at location 24180 Data Request Error: Error for variable 'gpcp' Error occurred at column 1 Display error: Invalid expression Expression = gpcp I am using GrADS 1.9.0-rc1 on a PC. My control file looks like: dset ^boxave_gpcp.r4 undef -99999.0 title GPCP data xdef 13 linear 71.25 2.5 ydef 11 linear 6.25 2.5 tdef 264 linear Jan1960 1mo zdef 01 levels 1 vars 1 gpcp 0 99 monsoon onset GPCP endvars I am trying to average "precipitation" over a certain area. In case, you would like to know what my Fortran program looks like: Program Box Average parameter(nx=144) parameter(ny=72) parameter(nt=264) ! parameter(nlon=13) ! parameter(nlat=11) parameter(lon1=30) parameter(lon2=42) parameter(lat1=39) parameter(lat2=49) parameter(undef=-99999.0) integer ix integer iy integer it real gpcp(nx,ny,nt) real gpcp_ave(nt) real count(nt) open(13,file="anomaly_gpcp.r4",form="unformatted", & recl=nx*ny*nt*4) read(13,rec=1)gpcp do it=1,nt count(it)=0.0 gpcp_ave(it)=0.0 enddo do ix=lon1,lon2 do iy=lat1,lat2 do it=1,nt if(gpcp(ix,iy,it).ne.undef) then gpcp_ave(it)=gpcp_ave(it)+gpcp(ix,iy,it) count(it)=count(it)+1.0 endif enddo enddo enddo do it=1,nt gpcp_ave(it)=gpcp_ave(it)/count(it) enddo open(24,file="boxave_gpcp.r4",form="unformatted", & recl=nt*4) write(24,rec=1)gpcp_ave write(*,*)"Completed GPCP Box Average" stop end Can anyone help me as to what is the problem? Thanks, Roop. -- This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. From vinicius.beatrix at GMAIL.COM Fri Apr 3 07:27:08 2009 From: vinicius.beatrix at GMAIL.COM (Vinicius Souza) Date: Fri, 3 Apr 2009 08:27:08 -0300 Subject: doubt... In-Reply-To: <5b5e360903122244j5a3c4c3cnac031ec04fae5c49@mail.gmail.com> Message-ID: Hello Jayakrishnan, Let me ask you one more thing, im just starting in the "grads world". Can you explain to me much better the process below? I try to use the fortram and c programs, but I dont understand how I use the gs file for the grads output, what do you mean with that? And about the others files? Im sorry my ignorance about that, I hope you help me. Thanks a lot. bye Vinicius 2009/3/13, Jayakrishnan PR : > Dear Souza, > Here is the six programmes which I used to make a station plot > from a station data. All the programmes are working. First you will have to > run the fortran programme, and then the c-programme. Then the gs file is > used for the grads output. Actually what we need is a binary file .bin for > the execution of these things. No necessity for grb or gmp files. Good > luck.............!!!!!!! > > On Thu, Mar 12, 2009 at 4:28 PM, Vinicius Souza > wrote: > >> thanks a lot man! >> dont you have a '.gmp' and '.grb' files? Do I need this files or not? >> 'cause I can't open! >> >> thanks again! >> bye >> >> 2009/3/12, Jayakrishnan PR : >> > Hello, >> > Here is an example of stationmap.ctl which will plot map over >> Indian >> > region. KIndly have a look into that. >> > >> > On Wed, Mar 11, 2009 at 5:18 PM, Vinicius Souza >> > wrote: >> > >> >> hello everyone! >> >> I'm looking for some maps to look on the grads in .ctl, but I can't >> >> find in anyplace, someone has any ctl maps of any place of the world >> >> to send me? I will be very glad! >> >> >> >> thank you folks! >> >> >> > >> > >> > >> > -- >> > Sincerely >> > *********************************************** >> > Jayakrishnan.P.R >> > CSIR-Research Fellow >> > Department of Atmospheric Sciences >> > Cochin University of Science and Technology (CUSAT), Cochin-682 016 >> > Kerala, India. >> > Mob: 09895417565 >> > >> > *********************************************** >> > >> > > > > -- > Sincerely > *********************************************** > Jayakrishnan.P.R > CSIR-Research Fellow > Department of Atmospheric Sciences > Cochin University of Science and Technology (CUSAT), Cochin-682 016 > Kerala, India. > Mob: 09895417565 > > *********************************************** > -- Vinicius From f.piani at IBIMET.CNR.IT Fri Apr 3 09:16:31 2009 From: f.piani at IBIMET.CNR.IT (Francesco Piani) Date: Fri, 3 Apr 2009 15:16:31 +0200 Subject: EPV Message-ID: Hi all. Does anyone have a script to calculate EPV to the evaluation of CSI? Thanks Francesco -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090403/6dbed7b8/attachment.html From veljkobb at YAHOO.COM Sat Apr 4 11:23:46 2009 From: veljkobb at YAHOO.COM (Veljko Petkovic) Date: Sat, 4 Apr 2009 08:23:46 -0700 Subject: reading BUFR data Message-ID: Hi, Can anybody help me to read BUFR format data? The error I am getting is: Error opening table B file (/Applications/grads/lib/tables/B2M-000-002-B): No such file or directory Error from getbufr: gabufr_open failed Obviously I am missing the library/table that 'bufrscan' needs, but I wasn't able to find and create that library. Actually I have found it but in .pdf format. thanks veljko -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090404/506f52b4/attachment.html From romero619 at HOTMAIL.COM Sat Apr 4 14:17:54 2009 From: romero619 at HOTMAIL.COM (P. R.M.) Date: Sat, 4 Apr 2009 11:17:54 -0700 Subject: FW: .gsf function return value doesnt work Message-ID: Jennifer, you had previously replied to this message, saying that you would look into this problem (functions within .gsf files dont correctly return a value when called from another/external .gsf/.gs script file). have there been any updates on this? Thanks, P.Romero ---------------------------------------- > From: romero619 at hotmail.com > To: gradsusr at list.cineca.it > Subject: .gsf function return value doesnt work > Date: Wed, 11 Mar 2009 10:37:33 -0700 > > > I'm reposting this question, since I dont know if the listserver rejected it the first time... > > I've never been able to get the following to work: use the 'return(varname)' statement within a .gsf function to return a value. > > I've only been able to accomplish the passing of variables around between scripts by using '_varname' global variables, but this defeats the whole purpose of creating a script function. > > I want to create a .gsf function that can actually return a value that can be directly assigned to a variable in a .gs file. > > example: > > *gsf file, addit.gsf > > function addit(var1,var2) > sum=var1+var2 > return (sum) > > *test gs file, tst.gs > > rc = gsfallow("on") > tx=addit(2,3) > say '2+3 is 'tx > > however, this doesnt work... > it simply prints '2+3 is ', so the gsf function is NOT returning the value of the 'sum' variable... > > Is this by design or am I doing something incorrectly? > are global variables the ONLY way to pass variables between script/script function files? > > If this *is* by design, then I would please like to submit a request to COLA to consider fixing this in future versions. > > P.Romero > _________________________________________________________________ > Windows Live? Contacts: Organize your contact list. > http://windowslive.com/connect/post/marcusatmicrosoft.spaces.live.com-Blog-cns!503D1D86EBB2B53C!2285.entry?ocid=TXT_TAGLM_WL_UGC_Contacts_032009 _________________________________________________________________ Rediscover Hotmail?: Now available on your iPhone or BlackBerry http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Mobile1_042009 From pertusus at FREE.FR Mon Apr 6 11:51:11 2009 From: pertusus at FREE.FR (Patrice Dumas) Date: Mon, 6 Apr 2009 17:51:11 +0200 Subject: lambert conformal conic projection with only 3 informations? Message-ID: Hello, I have a netcdf file that is (as far as I can tell) in lambert conformal conic projection grid, as I have in ncdump: char Lambert_conformal ; Lambert_conformal:grid_mapping_name = "lambert_conformal_conic" ; Lambert_conformal:longitude_of_central_meridian = "11.5" ; Lambert_conformal:latitude_of_projection_origin = "50.4" ; Lambert_conformal:standard_parallel = "11.5" ; That means 3 informations about the projection. However at http://www.iges.org/grads/gadoc/map.html#lambert (or http://www.iges.org/grads/gadoc/pdef.html), there are 9 latref reference latitude lonref reference longitude (in degrees, E is positive, W is negative) iref i of ref point jref j of ref point Struelat S true lat Ntruelat N true lat slon standard longitude dx grid X increment in meters dy grid Y increment in meters I can guess that latref and lonref and maybe slon corresponds with (in random order) longitude_of_central_meridian, latitude_of_projection_origin and standard_parallel, but what about the others? I am completly ignorant on the subject, so I may be completly missing something. Any idea on how the other parameters can be computed, if possible? -- Pat From SKimball at USOUTHAL.EDU Mon Apr 6 18:11:03 2009 From: SKimball at USOUTHAL.EDU (Sytske Kimball) Date: Mon, 6 Apr 2009 17:11:03 -0500 Subject: grads scripting question In-Reply-To: <5b40c90903120716kc34a8fctfe18ee530a23445c@mail.gmail.com> Message-ID: Dear grads users, I want to perform an action (write out a name) depending on the value of a grads data variable. In other words, I have a grads data file that contains a code number for the name of a location. In my control file I have the variable stationID and I want to do the following: set t 1 set x 1 set y 1 set z 1 if (stationID=101) 'draw string 1 1 Pascagoula' endif if (stationID=201) 'draw string 1 1 Agricola' endif The above does not work, can anyone tell me how to do this? Thanks in advance, Sytske Sytske Kimball Associate Professor of Meteorology Dept. of Earth Sciences University of South Alabama Mobile, AL phone (251) 460-7031 fax (251) 460-7886 email skimball at usouthal.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090406/36fcea14/attachment.html From michael.l.sestak at NAVY.MIL Mon Apr 6 18:25:11 2009 From: michael.l.sestak at NAVY.MIL (Sestak, Michael L CIV 63134) Date: Mon, 6 Apr 2009 15:25:11 -0700 Subject: grads scripting question In-Reply-To: <49DA3789.5606.00B9.0@usouthal.edu> Message-ID: You cannot use the scripting language "if" with grads variables, only with script variables. However, if you do all you the set x, y, z, t, then display your stationID variable 'd stationID' the value of the grads variable at that set of coordinates will be displayed as text in your command window. In a script, it works a little differently. Instead of being displayed in the command window, the variable value is saved in a script variable with the name result. Since this is a script variable, you can use the if with the script if statement. Thus 'set t 1' 'set x 1' 'set y 1' 'set z 1' 'd stationID' if (result=101) 'draw string 1 1 Pascagoula' endif if (result=201) 'draw string 1 1 Agricola' endif By the way, not the quotes around the set commands. Any grads command must have quotes around it in a script. Michael Sestak Fleet Numerical Meteorology and Oceanography Center Monterey, CA From: Sytske Kimball Sent: Mon 4/6/2009 15:11 To: GRADSUSR at LIST.CINECA.IT Subject: grads scripting question Dear grads users, I want to perform an action (write out a name) depending on the value of a grads data variable. In other words, I have a grads data file that contains a code number for the name of a location. In my control file I have the variable stationID and I want to do the following: set t 1 set x 1 set y 1 set z 1 if (stationID=101) 'draw string 1 1 Pascagoula' endif if (stationID=201) 'draw string 1 1 Agricola' endif The above does not work, can anyone tell me how to do this? Thanks in advance, Sytske Sytske Kimball Associate Professor of Meteorology Dept. of Earth Sciences University of South Alabama Mobile, AL phone (251) 460-7031 fax (251) 460-7886 email skimball at usouthal.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090406/175b7ffa/attachment.html From sh.maeam at GMAIL.COM Tue Apr 7 09:27:59 2009 From: sh.maeam at GMAIL.COM (sh zhou) Date: Tue, 7 Apr 2009 21:27:59 +0800 Subject: color bar --help Message-ID: Hi All, when I open a ".ctl" file, the picture displayed normally, but when I input command " cbar" or "cbarn", however the color bar didn't appear. Did some one come across this problem before? Can you help me to solve it? Thank you. -- sh.maeam -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090407/beb8c8c5/attachment.html From Zhong.Liu-1 at NASA.GOV Tue Apr 7 10:00:23 2009 From: Zhong.Liu-1 at NASA.GOV (Zhong Liu) Date: Tue, 7 Apr 2009 10:00:23 -0400 Subject: color bar --help In-Reply-To: <94ce49550904070627l369e64dn4aca276b63a3714c@mail.gmail.com> Message-ID: I had this problem before because GrADS can't find cbar.gs or cbarn.gs. Make sure they are in your environment paths. -Zhong sh zhou wrote: > Hi All, > > when I open a ".ctl" file, the picture displayed normally, but > when I input command " cbar" or "cbarn", however the color bar didn't > appear. Did some one come across this problem before? Can you help me > to solve it? > > Thank you. > > -- > sh.maeam -- Zhong Liu, Ph.D. Zhong.Liu-1 at nasa.gov George Mason University and NASA Goddard Earth Sciences Data and Information Services Center NASA/GSFC, Code 610.2 Greenbelt. MD. 20771 U.S.A. (301) 614-5764 (voice) (301) 614-5268 (fax) http://disc.gsfc.nasa.gov http://giovanni.gsfc.nasa.gov http://disc.sci.gsfc.nasa.gov/hurricane/ http://disc.sci.gsfc.nasa.gov/hurricane/trmm_quikscat_analysis.shtml http://disc.sci.gsfc.nasa.gov/agriculture/ais_sup/current_conditions.shtml From itesh.dash at GMAIL.COM Tue Apr 7 11:55:15 2009 From: itesh.dash at GMAIL.COM (itesh dash) Date: Tue, 7 Apr 2009 22:55:15 +0700 Subject: color bar --help In-Reply-To: <49DB5C77.8070106@nasa.gov> Message-ID: I am quite a new user for GrADS. Can anybody tell how to quit automatically in GrADS while working in batch mode. I tried the command -x with -c option. But it didn't work. example grads -pbcx 'exec command' .but its not quitting..rather its stopping at the ga> prompt. itesh -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090407/f3b38b27/attachment.html From davide.sacchetti at ARPAL.ORG Tue Apr 7 12:42:11 2009 From: davide.sacchetti at ARPAL.ORG (Davide Sacchetti) Date: Tue, 7 Apr 2009 18:42:11 +0200 Subject: color bar --help In-Reply-To: Message-ID: easy: your exec command should be a script, ending with 'quit' bye bye Davide On Tue, 2009-04-07 at 22:55 +0700, itesh dash wrote: > I am quite a new user for GrADS. Can anybody tell how to quit > automatically in GrADS while working in batch mode. I tried the > command -x with -c option. But it didn't work. > > example grads -pbcx 'exec command' .but its not quitting..rather its > stopping at the ga> prompt. > > itesh -- Sacchetti Davide Centro Funzionale Meteo Idrologico di Protezione Civile della Regione Liguria ARPAL Unit? Tecnica Complessa di livello Regionale V.le Brigare Partigiane 2 16121 Genova (I) tel: +39 010 6437535 fax: +39 010 6437520 mail: davide.sacchetti at arpal.org web: www.meteoliguria.it From SKimball at USOUTHAL.EDU Tue Apr 7 12:47:07 2009 From: SKimball at USOUTHAL.EDU (Sytske Kimball) Date: Tue, 7 Apr 2009 11:47:07 -0500 Subject: grads scripting question In-Reply-To: Message-ID: Hi Michael, Thanks for the suggestion. I wrote my script exactly as you indicated below (including the quotes) but it still doesn't quite work. So I performed some tests, first by adding a say result statement and the right value appears in my command window. I also checked that there were no errors in my draw string command by taking it out of the if - then loop. And it works fine. Anything else I'm missing? Thanks again in advance, Sytske >>> "Sestak, Michael L CIV 63134" 4/6/2009 5:25 PM >>> You cannot use the scripting language "if" with grads variables, only with script variables. However, if you do all you the set x, y, z, t, then display your stationID variable 'd stationID' the value of the grads variable at that set of coordinates will be displayed as text in your command window. In a script, it works a little differently. Instead of being displayed in the command window, the variable value is saved in a script variable with the name result. Since this is a script variable, you can use the if with the script if statement. Thus 'set t 1' 'set x 1' 'set y 1' 'set z 1' 'd stationID' if (result=101) 'draw string 1 1 Pascagoula' endif if (result=201) 'draw string 1 1 Agricola' endif By the way, not the quotes around the set commands. Any grads command must have quotes around it in a script. Michael Sestak Fleet Numerical Meteorology and Oceanography Center Monterey, CA From: Sytske Kimball Sent: Mon 4/6/2009 15:11 To: GRADSUSR at LIST.CINECA.IT Subject: grads scripting question Dear grads users, I want to perform an action (write out a name) depending on the value of a grads data variable. In other words, I have a grads data file that contains a code number for the name of a location. In my control file I have the variable stationID and I want to do the following: set t 1 set x 1 set y 1 set z 1 if (stationID=101) 'draw string 1 1 Pascagoula' endif if (stationID=201) 'draw string 1 1 Agricola' endif The above does not work, can anyone tell me how to do this? Thanks in advance, Sytske Sytske Kimball Associate Professor of Meteorology Dept. of Earth Sciences University of South Alabama Mobile, AL phone (251) 460-7031 fax (251) 460-7886 email skimball at usouthal.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090407/b171ef11/attachment.html From Caleb.Schiff at NAU.EDU Tue Apr 7 13:06:21 2009 From: Caleb.Schiff at NAU.EDU (Caleb Schiff) Date: Tue, 7 Apr 2009 10:06:21 -0700 Subject: error: can't open description file Message-ID: Grads users, I'm new to Grads and I apologize for my, most likely, simple question. I've received a line of commands to plot storm data, but I receive an error for one of the first commands. 'open mask.ctl' The error I receive is "Can't open description file" I didn't think the file was a description file so don't understand why I am running into problems. Any help would be much appreciated. Caleb Schiff Senior Research Specialist Department of Geology Northern Arizona University Building 12, Room 100 PO Box 4099 Flagstaff, AZ 86011-4099 928-523-0638 (Lab) 928-523-7290 (Fax) From SKimball at USOUTHAL.EDU Tue Apr 7 13:36:36 2009 From: SKimball at USOUTHAL.EDU (Sytske Kimball) Date: Tue, 7 Apr 2009 12:36:36 -0500 Subject: error: can't open description file In-Reply-To: <9CDB4503-A939-4B39-BED2-E4214D2A20E7@nau.edu> Message-ID: Hi Caleb, A ctl file in indeed a description file, but the file may not be in the same directory as where you started grads from. So go to that directory and check if your ctl file is there and if so, if you spelled its name correctly. Good luck, Sytske >>> Caleb Schiff 4/7/2009 12:06 PM >>> Grads users, I'm new to Grads and I apologize for my, most likely, simple question. I've received a line of commands to plot storm data, but I receive an error for one of the first commands. 'open mask.ctl' The error I receive is "Can't open description file" I didn't think the file was a description file so don't understand why I am running into problems. Any help would be much appreciated. Caleb Schiff Senior Research Specialist Department of Geology Northern Arizona University Building 12, Room 100 PO Box 4099 Flagstaff, AZ 86011-4099 928-523-0638 (Lab) 928-523-7290 (Fax) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090407/62d5caa9/attachment.html From SKimball at USOUTHAL.EDU Tue Apr 7 15:39:24 2009 From: SKimball at USOUTHAL.EDU (Sytske Kimball) Date: Tue, 7 Apr 2009 14:39:24 -0500 Subject: scripting question no. 2 Message-ID: Dear grads users, The following script should print the word 'Agricola' but doesn't. I am stumped. Can anyone help? 'set x 1' 'set y 1' 'set z 1' 'set t 1' 'set strsiz 0.20' 'set string 1 l 6 0' 'd fidst' say result if(result=201) 'draw string 8 1 Agricola' endif The 'say result' statement confirms that grads variable fidst has the value 201. Thanks in advance, Sytske Sytske Kimball Associate Professor of Meteorology Dept. of Earth Sciences University of South Alabama Mobile, AL phone (251) 460-7031 fax (251) 460-7886 email skimball at usouthal.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090407/0c1db04b/attachment.html From SKimball at USOUTHAL.EDU Tue Apr 7 15:48:37 2009 From: SKimball at USOUTHAL.EDU (Sytske Kimball) Date: Tue, 7 Apr 2009 14:48:37 -0500 Subject: scripting question no. 2 In-Reply-To: Message-ID: Good thought, but unfortunately that wasn't it - I'm in landscape mode. I also tested the print statement by removing the if and endif lines and it works........ Sytske >>> Semyon Grodsky 4/7/2009 2:43 PM >>> 'draw string 8 1 Agricola' just a thought. If your screen is oriented portrait, then x=8,y=1 is just on the right edge of the screen. Try 'draw string 5 1 Agricola' to check if this is an issue. --S ----------------------------------------------------------- Semyon Grodsky Computer and Space Science Building (Bldg. #224), Room 2409 Department of Atmospheric and Oceanic Science University of Maryland College Park, MD 20742 Phone: 301-405-5330 Fax: 301-314-9482 E-mail: senya at atmos.umd.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090407/0949a075/attachment.html From smcmillan at PLANALYTICS.COM Tue Apr 7 16:00:11 2009 From: smcmillan at PLANALYTICS.COM (Stephen R McMillan) Date: Tue, 7 Apr 2009 15:00:11 -0500 Subject: scripting question no. 2 In-Reply-To: <49DB6788.5606.00B9.0@usouthal.edu> Message-ID: Systske, What "result" do you get when you type 'd fidst' on the command line? For example, when I display a variable with x,y,z, and t fixed, I get something like "Result value = 25.38". You can capture the value by adding something like: myval=subwrd(result,4) then you could use myval in your if..endif statement. Stephen McMillan Sytske Kimball Sent by: GRADSUSR at LIST.CINECA.IT 04/07/2009 02:48 PM Please respond to GRADSUSR at LIST.CINECA.IT To GRADSUSR at LIST.CINECA.IT cc Subject Re: scripting question no. 2 Good thought, but unfortunately that wasn't it - I'm in landscape mode. I also tested the print statement by removing the if and endif lines and it works........ Sytske >>> Semyon Grodsky 4/7/2009 2:43 PM >>> 'draw string 8 1 Agricola' just a thought. If your screen is oriented portrait, then x=8,y=1 is just on the right edge of the screen. Try 'draw string 5 1 Agricola' to check if this is an issue. --S ----------------------------------------------------------- Semyon Grodsky Computer and Space Science Building (Bldg. #224), Room 2409 Department of Atmospheric and Oceanic Science University of Maryland College Park, MD 20742 Phone: 301-405-5330 Fax: 301-314-9482 E-mail: senya at atmos.umd.edu *************************************************** The information contained in this e-mail message is intended only for the use of the recipient(s) named above and may contain information that is privileged, confidential, and/or proprietary. If you are not the intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the sender immediately by e-mail, and delete the original message. *************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090407/b7792191/attachment.html From SKimball at USOUTHAL.EDU Tue Apr 7 16:06:20 2009 From: SKimball at USOUTHAL.EDU (Sytske Kimball) Date: Tue, 7 Apr 2009 15:06:20 -0500 Subject: scripting question no. 2 In-Reply-To: Message-ID: YES!!! That did it. :)) Thanks a bunch, Sytske >>> Stephen R McMillan 4/7/2009 3:00 PM >>> Systske, What "result" do you get when you type 'd fidst' on the command line? For example, when I display a variable with x,y,z, and t fixed, I get something like "Result value = 25.38". You can capture the value by adding something like: myval=subwrd(result,4) then you could use myval in your if..endif statement. Stephen McMillan Sytske Kimball Sent by: GRADSUSR at LIST.CINECA.IT 04/07/2009 02:48 PM Please respond to GRADSUSR at LIST.CINECA.IT To GRADSUSR at LIST.CINECA.ITcc Subject Re: scripting question no. 2 Good thought, but unfortunately that wasn't it - I'm in landscape mode. I also tested the print statement by removing the if and endif lines and it works........ Sytske >>> Semyon Grodsky 4/7/2009 2:43 PM >>> 'draw string 8 1 Agricola' just a thought. If your screen is oriented portrait, then x=8,y=1 is just on the right edge of the screen. Try 'draw string 5 1 Agricola' to check if this is an issue. --S ----------------------------------------------------------- Semyon Grodsky Computer and Space Science Building (Bldg. #224), Room 2409 Department of Atmospheric and Oceanic Science University of Maryland College Park, MD 20742 Phone: 301-405-5330 Fax: 301-314-9482 E-mail: senya at atmos.umd.edu *************************************************** The information contained in this e-mail message is intended only for the use of the recipient(s) named above and may contain information that is privileged, confidential, and/or proprietary. If you are not the intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the sender immediately by e-mail, and delete the original message. *************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090407/8c3020cd/attachment.html From michael.l.sestak at NAVY.MIL Tue Apr 7 16:09:48 2009 From: michael.l.sestak at NAVY.MIL (Sestak, Michael L CIV 63134) Date: Tue, 7 Apr 2009 13:09:48 -0700 Subject: scripting question no. 2 In-Reply-To: <49DB6788.5606.00B9.0@usouthal.edu> Message-ID: If that is your entire script, I am stumped because the defaults for string attributes should print something (it may not be pretty, but it should print). If this is part of a larger script, could you have done something that causes the string color to be the same as the background color? There is, of course, the set string command, but set background or set color could also cause this problem. That's my only guess. Michael Sestak Fleet Numerical Meteorology and Oceanography Center Monterey, CA From: Sytske Kimball Sent: Tue 4/7/2009 12:48 To: GRADSUSR at LIST.CINECA.IT Subject: Re: scripting question no. 2 Good thought, but unfortunately that wasn't it - I'm in landscape mode. I also tested the print statement by removing the if and endif lines and it works........ Sytske >>> Semyon Grodsky 4/7/2009 2:43 PM >>> 'draw string 8 1 Agricola' just a thought. If your screen is oriented portrait, then x=8,y=1 is just on the right edge of the screen. Try 'draw string 5 1 Agricola' to check if this is an issue. --S ----------------------------------------------------------- Semyon Grodsky Computer and Space Science Building (Bldg. #224), Room 2409 Department of Atmospheric and Oceanic Science University of Maryland College Park, MD 20742 Phone: 301-405-5330 Fax: 301-314-9482 E-mail: senya at atmos.umd.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090407/393b605f/attachment.html From SKimball at USOUTHAL.EDU Tue Apr 7 16:45:49 2009 From: SKimball at USOUTHAL.EDU (Sytske Kimball) Date: Tue, 7 Apr 2009 15:45:49 -0500 Subject: scripting question no. 2 In-Reply-To: <44FB39E6-6486-49DE-8CDE-51ABCBB1C4E3@mimectl> Message-ID: After the help from a another list member it turned out I needed one more line: 'd fidst' code=subwrd(result,4) if(code=201) 'draw string 8 1 Agricola' endif That fixed it. Sytske >>> "Sestak, Michael L CIV 63134" 4/7/2009 3:09 PM >>> If that is your entire script, I am stumped because the defaults for string attributes should print something (it may not be pretty, but it should print). If this is part of a larger script, could you have done something that causes the string color to be the same as the background color? There is, of course, the set string command, but set background or set color could also cause this problem. That's my only guess. Michael Sestak Fleet Numerical Meteorology and Oceanography Center Monterey, CA From: Sytske Kimball Sent: Tue 4/7/2009 12:48 To: GRADSUSR at LIST.CINECA.IT Subject: Re: scripting question no. 2 Good thought, but unfortunately that wasn't it - I'm in landscape mode. I also tested the print statement by removing the if and endif lines and it works........ Sytske >>> Semyon Grodsky 4/7/2009 2:43 PM >>> 'draw string 8 1 Agricola' just a thought. If your screen is oriented portrait, then x=8,y=1 is just on the right edge of the screen. Try 'draw string 5 1 Agricola' to check if this is an issue. --S ----------------------------------------------------------- Semyon Grodsky Computer and Space Science Building (Bldg. #224), Room 2409 Department of Atmospheric and Oceanic Science University of Maryland College Park, MD 20742 Phone: 301-405-5330 Fax: 301-314-9482 E-mail: senya at atmos.umd.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090407/22513bb8/attachment.html From itesh.dash at GMAIL.COM Tue Apr 7 23:41:58 2009 From: itesh.dash at GMAIL.COM (itesh dash) Date: Wed, 8 Apr 2009 10:41:58 +0700 Subject: color bar --help In-Reply-To: <1239122531.26694.0.camel@davide> Message-ID: thnxxx... On Tue, Apr 7, 2009 at 11:42 PM, Davide Sacchetti < davide.sacchetti at arpal.org> wrote: > easy: your exec command should be a script, ending with 'quit' > bye bye > Davide > > On Tue, 2009-04-07 at 22:55 +0700, itesh dash wrote: > > I am quite a new user for GrADS. Can anybody tell how to quit > > automatically in GrADS while working in batch mode. I tried the > > command -x with -c option. But it didn't work. > > > > example grads -pbcx 'exec command' .but its not quitting..rather its > > stopping at the ga> prompt. > > > > itesh > -- > Sacchetti Davide > Centro Funzionale Meteo Idrologico di Protezione Civile della Regione > Liguria > ARPAL Unit? Tecnica Complessa di livello Regionale > V.le Brigare Partigiane 2 16121 Genova (I) > tel: +39 010 6437535 fax: +39 010 6437520 > mail: davide.sacchetti at arpal.org web: www.meteoliguria.it > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090408/e31b9472/attachment.html From ian.davy at VIRGIN.NET Wed Apr 8 08:44:01 2009 From: ian.davy at VIRGIN.NET (Davy Home) Date: Wed, 8 Apr 2009 13:44:01 +0100 Subject: Hi resolution coastlines over Europe Message-ID: Can someone help me with advice on the best way to get High Resolution coastlines working over Europe in OpenGrads 2.0.5. super pack. I know that it has been done by converting Generic Mapping Tools coastlines for Grads but do not knows how to do this and where the subsequent files would be placed for them to be used by Grads. Any advice on methods to get better coastlines would be appreciated. Thanks, Ian -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090408/04906a2a/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: multipart/alternative Size: 0 bytes Desc: not available Url : http://gradsusr.org/pipermail/gradsusr/attachments/20090408/04906a2a/attachment.bin -------------- next part -------------- No virus found in this outgoing message. Checked by AVG - www.avg.com Version: 8.0.238 / Virus Database: 270.11.46/2046 - Release Date: 04/07/09 17:53:00 From romero619 at HOTMAIL.COM Wed Apr 8 11:55:00 2009 From: romero619 at HOTMAIL.COM (P.Romero) Date: Wed, 8 Apr 2009 10:55:00 -0500 Subject: convert grib2 to binary format with wgrib2 Message-ID: I have questions about converting my grib2 data to binary: I tried running ?wgrib2 mygrib2file.grb2 ?bin mydata.bin?, which created a very large binary file. I then tried to use my existing .ctl file (that I had created with g2ctl.pl), and modify it to point to the new binary file. This seemed to work, grads didn?t complain when I tried to load the control file. However, when I tried to plot something, the values were completely off. Whats the correct way to export a grib2 file to binary using wgrib2 & create a proper .ctl file for this binary file? Please help, Thanks, P.Romero -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090408/4f6fc4ba/attachment.html From blossom002 at STUDENT.WCSU.EDU Wed Apr 8 12:05:17 2009 From: blossom002 at STUDENT.WCSU.EDU (Christopher Blossom) Date: Wed, 8 Apr 2009 12:05:17 -0400 Subject: Viewing Files from other drives Message-ID: An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090408/c5f1ead1/attachment.html From Wesley.Ebisuzaki at NOAA.GOV Wed Apr 8 13:20:34 2009 From: Wesley.Ebisuzaki at NOAA.GOV (Wesley Ebisuzaki) Date: Wed, 8 Apr 2009 13:20:34 -0400 Subject: convert grib2 to binary format with wgrib2 In-Reply-To: Message-ID: Hi, In a grib file, the fields can be in any order. With a binary file, GrADS expects the fields to be in a specific order. In grib, a missing field is just not there. In a binary file, a missing field is an array of missing values. It is possible rearrange the order of the grib records and to add the missing fields, but why? Wesley Ebisuzaki P.Romero wrote: > > I have questions about converting my grib2 data to binary: > > I tried running ?wgrib2 mygrib2file.grb2 ?bin mydata.bin?, which > created a very large binary file. > > I then tried to use my existing .ctl file (that I had created with > g2ctl.pl), and modify it to point to the new binary file. > > This seemed to work, grads didn?t complain when I tried to load the > control file. > > However, when I tried to plot something, the values were completely off. > > > Whats the correct way to export a grib2 file to binary using wgrib2 & > create a proper .ctl file for this binary file? > > Please help, > > Thanks, > > P.Romero > From blossom002 at STUDENT.WCSU.EDU Wed Apr 8 14:14:00 2009 From: blossom002 at STUDENT.WCSU.EDU (Christopher Blossom) Date: Wed, 8 Apr 2009 14:14:00 -0400 Subject: Command rc=write() Message-ID: An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090408/ba94517c/attachment.html From arlindo.dasilva at GMAIL.COM Wed Apr 8 15:27:42 2009 From: arlindo.dasilva at GMAIL.COM (Arlindo da Silva) Date: Wed, 8 Apr 2009 15:27:42 -0400 Subject: convert grib2 to binary format with wgrib2 In-Reply-To: Message-ID: On Wed, Apr 8, 2009 at 11:55 AM, P.Romero wrote: > I have questions about converting my grib2 data to binary: > > > > I tried running ?wgrib2 mygrib2file.grb2 ?bin mydata.bin?, which created a > very large binary file. > > I then tried to use my existing .ctl file (that I had created with > g2ctl.pl), and modify it to point to the new binary file. > > This seemed to work, grads didn?t complain when I tried to load the control > file. > > However, when I tried to plot something, the values were completely off. > > > Whats the correct way to export a grib2 file to binary using wgrib2 & > create a proper .ctl file for this binary file? > > > Lats4d would give you a binary file in the same order as the ctl: lats4d -i mydata.ctl -o mydata -format stream -v (or use "-format sequential" for a fortran sequential file). This should work with your ctl. In addition you can any kind of subsetting/regridding that lats4d usually does. See http://opengrads.org/doc/scripts/lats4d/ Remember, with grads v2 lats4d can only write binaries. Arlindo - Arlindo da Silva dasilva at alum.mit.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090408/2c4c92a4/attachment.html From blossom002 at STUDENT.WCSU.EDU Wed Apr 8 15:36:01 2009 From: blossom002 at STUDENT.WCSU.EDU (Christopher Blossom) Date: Wed, 8 Apr 2009 15:36:01 -0400 Subject: No subject Message-ID: An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090408/7a263554/attachment.html From scsebnic at LIBERO.IT Wed Apr 8 17:35:26 2009 From: scsebnic at LIBERO.IT (Nicola Sebastiani) Date: Wed, 8 Apr 2009 21:35:26 -0000 Subject: draw cities on a map Message-ID: Hi, using GRADS, is it possible to draw cities marker and name on a map, having the lat/lon (geographical coordinates) and the city name written into an (ascii) file? Thank you in advance Nicola ---------------------------------------------------------------------------------------------------------------------------------- Are you interested in Weather Satellite and Earth Observation for educational purposes? Please, visit ----------->> http://www.scsebnic.net ---------------------------------------------------------------------------------------------------------------------------------- From zenica3 at GMAIL.COM Wed Apr 8 18:27:08 2009 From: zenica3 at GMAIL.COM (ibrahim Hadzismailovic) Date: Thu, 9 Apr 2009 00:27:08 +0200 Subject: draw cities on a map In-Reply-To: Message-ID: Hello, Try with this: 'set strsiz 0.13' 'set string 1 l 5' 'query w2xy 18.43 43.86' (lat and long!!!) x_a = subwrd(result,3) y_a = subwrd(result,6) 'draw string 'x_a' 'y_a' Sarajevo' Regards, Ibrahim -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090409/bb518973/attachment.html From jli9 at GMU.EDU Wed Apr 8 18:31:30 2009 From: jli9 at GMU.EDU (JL@gmu) Date: Wed, 8 Apr 2009 18:31:30 -0400 Subject: draw cities on a map In-Reply-To: Message-ID: try this: 'q w2xy lon lat' x=subwrd(result,3) y=subwrd(result,6) 'draw string 'x' 'y' cityname' On Apr 8, 2009, at 5:35 PM, Nicola Sebastiani wrote: > Hi, > > using GRADS, is it possible to draw cities marker and name on a > map, having > the lat/lon (geographical coordinates) and the city name written > into an > (ascii) file? > > Thank you in advance > > Nicola > > ---------------------------------------------------------------------- > ------------------------------------------------------------ > Are you interested in Weather Satellite and Earth Observation for > educational purposes? > Please, visit ----------->> http://www.scsebnic.net > ---------------------------------------------------------------------- > ------------------------------------------------------------ Jian Li -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090408/b76a1119/attachment.html From scsebnic at LIBERO.IT Wed Apr 8 19:23:41 2009 From: scsebnic at LIBERO.IT (Nicola Sebastiani) Date: Wed, 8 Apr 2009 23:23:41 -0000 Subject: draw cities on a map Message-ID: Hi, thank you very much, it works very nice Regards Nicola ---------------------------------------------------------------------------------------------------------------------------------- Are you interested in Weather Satellite and Earth Observation for educational purposes? Please, visit ----------->> http://www.scsebnic.net ---------------------------------------------------------------------------------------------------------------------------------- ----- Original Message ----- From: JL at gmu To: GRADSUSR at LIST.CINECA.IT Sent: Wednesday, April 08, 2009 10:31 PM Subject: Re: draw cities on a map try this: 'q w2xy lon lat' x=subwrd(result,3) y=subwrd(result,6) 'draw string 'x' 'y' cityname' On Apr 8, 2009, at 5:35 PM, Nicola Sebastiani wrote: Hi, using GRADS, is it possible to draw cities marker and name on a map, having the lat/lon (geographical coordinates) and the city name written into an (ascii) file? Thank you in advance Nicola ---------------------------------------------------------------------------------------------------------------------------------- Are you interested in Weather Satellite and Earth Observation for educational purposes? Please, visit ----------->> http://www.scsebnic.net ---------------------------------------------------------------------------------------------------------------------------------- Jian Li -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090408/323b0a50/attachment.html From scsebnic at LIBERO.IT Wed Apr 8 19:24:52 2009 From: scsebnic at LIBERO.IT (Nicola Sebastiani) Date: Wed, 8 Apr 2009 23:24:52 -0000 Subject: draw cities on a map Message-ID: Hi, thank you very much, it works very nice Regards Nicola ---------------------------------------------------------------------------------------------------------------------------------- Are you interested in Weather Satellite and Earth Observation for educational purposes? Please, visit ----------->> http://www.scsebnic.net ---------------------------------------------------------------------------------------------------------------------------------- ----- Original Message ----- From: ibrahim Hadzismailovic To: GRADSUSR at LIST.CINECA.IT Sent: Wednesday, April 08, 2009 10:27 PM Subject: Re: draw cities on a map Hello, Try with this: 'set strsiz 0.13' 'set string 1 l 5' 'query w2xy 18.43 43.86' (lat and long!!!) x_a = subwrd(result,3) y_a = subwrd(result,6) 'draw string 'x_a' 'y_a' Sarajevo' Regards, Ibrahim -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090408/12c2161d/attachment.html From dasilva at ALUM.MIT.EDU Wed Apr 8 23:54:48 2009 From: dasilva at ALUM.MIT.EDU (Arlindo da Silva) Date: Wed, 8 Apr 2009 23:54:48 -0400 Subject: OpenGrADS Bundle v2.0.a5-oga.4 for Linux/Mac OS X/FreeBSD/Unix released Message-ID: All, We just uploaded to sourceforge version 2.0.a5-oga.4 of the OpenGrADS Bundle: http://sourceforge.net/project/showfiles.php?group_id=161773&package_id=305032&release_id=674371 As the previous OpenGrADS Bundle v2.0.a5-oga.3 this release is based on COLA's GrADS v2.0.a5 and includes additional user defined functions and commands based on the OpenGrADS User Defined Extensions (see original announcement of the OpenGrADS Bundle on this list for important caveats; a complete list of extensions appear at the bottom of this message.) Read more about bundles here: http://opengrads.org/wiki/index.php?title=The_OpenGrADS_Bundle The current release fixes a few bugs, adds HTML documentation and some new features: * you can now specify up to 256 different colors (the previous limit was 100 colors); see attached plot. * the extensions gxyat now includes the new command set_rgba which allows you to specify a transparency level (alpha channel) for each defined color. * the original classic UDF regrid2(), written by Mike Fiorino in Fortran, has been implemented as a User Defined Extension, mostly as a device to fully test re(), a replacement regrid function written entirely in C. This release also includes minor bug fixes in re(). See ChangeLog below for additional information. The OpenGrADS extensions are replacements for the previous (classic) User Defined Functions. These extensions are typically written in low level programming languages such as C or Fortran. However, you can now write GrADS expression functions using the GrADS scripting language. As an example, we have implemented the Suomen Saakeskus (Finnish Weathercenter) collection of thunderstorm related functions originally developed by Stefan Gofferje as described in the following website: http://www.saakeskus.fi/index.php Documentation for these functions are found here: http://opengrads.org/doc/udxt/saakeskus/ For example, to plot the storm relative helicity in the first 3km of the atmosphere using GFS data try ga-> d srh3km(ugrdprs,vgrdprs) BTW, the NOMADS Browser now includes a "Zoom in/out" option under the [Set Dim] menu; give it a try. Enjoy! Arlindo -------------- ChangeLog 2009-04-05 , Version GrADS 2.0.a5.oga.4 * Added Steve Bloom's zooming scripts to merra/nomads GUIs * Documentation.php: added * doc/opengrads: added * bundle/bundle_create.sh: docs now part of Bundle * gagui.x: now Cmd call back expands %s into default var * gacols.h: new defining file defining max number of colors; the following files now make use of this information: - gauser.c - grads.h - gxX.c - gxeps.c - gxgif.c - gxps.c - gxsubs.c * gatypes.h: #ifdef so that it only gets included once * gxudx.c: added function to update pst * gxyat.c: expanded help for set_rgba, minor revisions * extension/re/re.c: in short hand mode, default (1,1) is no longer shifted by 1/2 delta lon, delta lat. * acinclude.m4: when no supplibs are found, use ./null * src/Makefile.am: again builds without the supplibs ------------- --- LIST OF INCLUDED EXTENSIONS --- User Defined COMMAND Short Description Function at Library ---------- ----------------------------------- -------------------------- printenv Expand environment variables c_xenv@^env.gex runenv Expand env vars and run command c_env@^env.gex @ Expand env vars and run command c_env@^env.gex getenv Get value of environment variable c_getenv@^env.gex setenv Set value of environment variable c_setenv@^env.gex gxyat Save images in PNG/SVG/PDF/PS c_gxyat@^gxyat.gex set_rgba Set color red/green/blue/alpha c_rgba@^gxyat.gex hello Hello, World! sample command c_hello@^libhello.gex ipc_verb IPC verbose toggle c_Verb@^libipc.gex ipc_open Open stream for save/load c_Open@^libipc.gex ipc_close Close stream c_Close@^libipc.gex ipc_save Save expression to stream c_Save@^libipc.gex ipc_define Define variable (obsolete) c_Define@^libipc.gex ipc_error Print IPC error message c_Error@^libipc.gex cylprms Properties relative to lon/lat c_cylprms@^libmf.gex shp_lines Draw lines from shapefile c_lines@^shape.gex shp_polyf Draw polygons from shapefile c_polyf@^shape.gex ---------- ----------------------------------- -------------------------- User Defined FUNCTION Short Description Function at Library ---------- ----------------------------------- -------------------------- lt Less than operator f_bjt@^libbjt.gex jd Julian day f_bjt@^libbjt.gex cosz Cosine solar zenith angle f_bjt@^libbjt.gex dayratio Daylight ratio f_bjt@^libbjt.gex if Conditional function f_bjt@^libbjt.gex maxv Maximum value f_bjt@^libbjt.gex minv Minimum value f_bjt@^libbjt.gex which Label gridpoints f_bjt@^libbjt.gex ftest F-test f_bjt@^libbjt.gex ttest T-test f_bjt@^libbjt.gex tfit Point linear regression f_bjt@^libbjt.gex fit Global linear regression f_bjt@^libbjt.gex tcorr2 Time correlation f_bjt@^libbjt.gex tregr2 Point linear regression f_bjt@^libbjt.gex tmave2 Time averaging w/masking f_bjt@^libbjt.gex madvu Calculates -d(u*EXPR)/dx f_bjt@^libbjt.gex madvv Calculates -d(V*EXPR)/dy f_bjt@^libbjt.gex madvw Calculates -d(W*EXPR)/dp f_bjt@^libbjt.gex muadv Zonal advection f_bjt@^libbjt.gex mvadv Meridional advection f_bjt@^libbjt.gex mwadv Vertical advection f_bjt@^libbjt.gex satvap Saturated vapor pressure f_bjt@^libbjt.gex dew Dew point temperature f_bjt@^libbjt.gex lw Thermal infrared fluxes f_bjt@^libbjt.gex lw2 Thermal infrared fluxes v2 f_bjt@^libbjt.gex pinterp Pressure interpolation f_bjt@^libbjt.gex zinterp Height interpolation f_bjt@^libbjt.gex line Draws a line f_bjt@^libbjt.gex vint2 Mass-weighted vertical integral f_bjt@^libbjt.gex fish Poisson solver f_fish@^fish.gex fish_psi Compute streamfunction f_psichi@^fish.gex fish_chi Compute velocity potential f_psichi@^fish.gex fish_vor Compute vorticity f_psichi@^fish.gex fish_div Compute divergence f_psichi@^fish.gex dewpt Dew-point temperature f_gsudf@^gsudf.gex ept Equivalent potential temperature f_gsudf@^gsudf.gex epi Potential Instability f_gsudf@^gsudf.gex plcl Pressure at LCL f_gsudf@^gsudf.gex shear Wind Shear f_gsudf@^gsudf.gex srh1km Storm-relative Helicity 0-1km' f_gsudf@^gsudf.gex srh3km Storm-relative Helicity 0-3km' f_gsudf@^gsudf.gex tlcl Temperature at LCL f_gsudf@^gsudf.gex tsindex Chance of T-storm Initiation f_gsudf@^gsudf.gex ttindex Total Totals Index f_gsudf@^gsudf.gex wchill Wind Chill Index (New) f_gsudf@^gsudf.gex hello Hello, World! sample function f_hello@^libhello.gex ipc_save Save expression to stream f_Save@^libipc.gex ipc_load Load variable from file f_Load@^libipc.gex smth2d Shuman smoother/de-smoother f_smth2d@^libmf.gex uv2trw Find radial/tangential velocity f_uv2trw@^libmf.gex re2 General interpolator (regrid2) f_re2@^libmf.gex esmrf2 Saturation vapor pressure (old MRF) f_esmrf2@^libmf.gex linreg2 Linear regression: mx + b f_linreg2@^libmf.gex re General interpolator ffre@^re.gex re_ General interpolator (verbose) ffre_dbg@^re.gex regrid2 regrid2-like wrapper for re() f_gsudf@^gsudf.gex reimg Interpolation for Image Generation' f_gsudf@^gsudf.gex re General interpolator ffre@^re.gex re_ General interpolator (verbose) ffre_dbg@^re.gex regrid2 regrid2-like wrapper for re() f_gsudf@^gsudf.gex reimg Interpolation for Image Generation' f_gsudf@^gsudf.gex sh_filt Spherical harmonic filter f_shfilt@^shfilt.gex sh_power Spherical harmonic spectra f_shpowr@^shfilt.gex ---------- ----------------------------------- -------------------------- -- Arlindo da Silva dasilva at alum.mit.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090408/b46ad7fc/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: rgb256.png Type: image/png Size: 14325 bytes Desc: not available Url : http://gradsusr.org/pipermail/gradsusr/attachments/20090408/b46ad7fc/attachment.png From jimp at HAWAII.EDU Thu Apr 9 03:25:16 2009 From: jimp at HAWAII.EDU (James T. Potemra) Date: Wed, 8 Apr 2009 21:25:16 -1000 Subject: sdfopen support for 365 day calendars In-Reply-To: <77fcd6b20904082054x4f1ebb83kcc985efde6e568e2@mail.gmail.com> Message-ID: Arlindo and others: I'm running version 2.0.a5.oga.3 on a 64-bit linux machine. I get the following error when attempting to load netCDF output via sdfopen: SDF Error: 365 day calendars are no longer supported by sdfopen It works in 1.9.0-rc1, and I was wondering why this feature is no longer supported in 2.0.x versions. Thanks, Jim Arlindo da Silva wrote: > All, > > We just uploaded to sourceforge version 2.0.a5-oga.4 of the > OpenGrADS Bundle: > > > http://sourceforge.net/project/showfiles.php?group_id=161773&package_id=305032&release_id=674371 > > > As the previous OpenGrADS Bundle v2.0.a5-oga.3 this release is based > on COLA's GrADS v2.0.a5 and includes additional user defined functions > and commands based on the OpenGrADS User Defined Extensions (see > original announcement of the OpenGrADS Bundle on this list for > important caveats; a complete list of extensions appear at the bottom > of this message.) Read more about bundles here: > > http://opengrads.org/wiki/index.php?title=The_OpenGrADS_Bundle > > The current release fixes a few bugs, adds HTML documentation and some > new features: > > * you can now specify up to 256 different colors (the previous limit > was 100 colors); > see attached plot. > > * the extensions gxyat now includes the new command set_rgba which > allows you to > specify a transparency level (alpha channel) for each defined color. > > * the original classic UDF regrid2(), written by Mike Fiorino in > Fortran, has been implemented > as a User Defined Extension, mostly as a device to fully test re(), a > replacement regrid > function written entirely in C. This release also includes minor bug > fixes in re(). > > See ChangeLog below for additional information. > > The OpenGrADS extensions are replacements for the previous (classic) > User Defined Functions. These extensions are typically written in low > level programming languages such as C or Fortran. However, you can now > write GrADS expression functions using the GrADS scripting language. > As an example, we have implemented the Suomen Saakeskus (Finnish > Weathercenter) collection of thunderstorm related functions originally > developed by Stefan Gofferje as described in the following website: > > http://www.saakeskus.fi/index.php > > Documentation for these functions are found here: > > http://opengrads.org/doc/udxt/saakeskus/ > > For example, to plot the storm relative helicity in the first 3km of > the atmosphere using GFS data try > > ga-> d srh3km(ugrdprs,vgrdprs) > > BTW, the NOMADS Browser now includes a "Zoom in/out" option under the > [Set Dim] menu; give it a try. > > Enjoy! > > Arlindo > > -------------- > ChangeLog > 2009-04-05 >, > Version GrADS 2.0.a5.oga.4 > * Added Steve Bloom's zooming scripts to merra/nomads GUIs > * Documentation.php: added > * doc/opengrads: added > * bundle/bundle_create.sh: docs now part of Bundle > * gagui.x: now Cmd call back expands %s into default var > * gacols.h: new defining file defining max number of colors; > the following files now make use of this information: > - gauser.c > - grads.h > - gxX.c > - gxeps.c > - gxgif.c > - gxps.c > - gxsubs.c > * gatypes.h: #ifdef so that it only gets included once > * gxudx.c: added function to update pst > * gxyat.c: expanded help for set_rgba, minor revisions > * extension/re/re.c: in short hand mode, default (1,1) is > no longer shifted by 1/2 delta lon, delta lat. > * acinclude.m4: when no supplibs are found, use ./null > * src/Makefile.am: again builds without the supplibs > > ------------- > > --- LIST OF INCLUDED EXTENSIONS --- > > User > Defined > COMMAND Short Description Function at Library > ---------- ----------------------------------- -------------------------- > printenv Expand environment variables c_xenv@^env.gex > runenv Expand env vars and run command c_env@^env.gex > @ Expand env vars and run command c_env@^env.gex > getenv Get value of environment variable c_getenv@^env.gex > setenv Set value of environment variable c_setenv@^env.gex > gxyat Save images in PNG/SVG/PDF/PS c_gxyat@^gxyat.gex > set_rgba Set color red/green/blue/alpha c_rgba@^gxyat.gex > hello Hello, World! sample command c_hello@^libhello.gex > ipc_verb IPC verbose toggle c_Verb@^libipc.gex > ipc_open Open stream for save/load c_Open@^libipc.gex > ipc_close Close stream c_Close@^libipc.gex > ipc_save Save expression to stream c_Save@^libipc.gex > ipc_define Define variable (obsolete) c_Define@^libipc.gex > ipc_error Print IPC error message c_Error@^libipc.gex > cylprms Properties relative to lon/lat c_cylprms@^libmf.gex > shp_lines Draw lines from shapefile c_lines@^shape.gex > shp_polyf Draw polygons from shapefile c_polyf@^shape.gex > ---------- ----------------------------------- -------------------------- > > User > Defined > FUNCTION Short Description Function at Library > ---------- ----------------------------------- -------------------------- > lt Less than operator f_bjt@^libbjt.gex > jd Julian day f_bjt@^libbjt.gex > cosz Cosine solar zenith angle f_bjt@^libbjt.gex > dayratio Daylight ratio f_bjt@^libbjt.gex > if Conditional function f_bjt@^libbjt.gex > maxv Maximum value f_bjt@^libbjt.gex > minv Minimum value f_bjt@^libbjt.gex > which Label gridpoints f_bjt@^libbjt.gex > ftest F-test f_bjt@^libbjt.gex > ttest T-test f_bjt@^libbjt.gex > tfit Point linear regression f_bjt@^libbjt.gex > fit Global linear regression f_bjt@^libbjt.gex > tcorr2 Time correlation f_bjt@^libbjt.gex > tregr2 Point linear regression f_bjt@^libbjt.gex > tmave2 Time averaging w/masking f_bjt@^libbjt.gex > madvu Calculates -d(u*EXPR)/dx f_bjt@^libbjt.gex > madvv Calculates -d(V*EXPR)/dy f_bjt@^libbjt.gex > madvw Calculates -d(W*EXPR)/dp f_bjt@^libbjt.gex > muadv Zonal advection f_bjt@^libbjt.gex > mvadv Meridional advection f_bjt@^libbjt.gex > mwadv Vertical advection f_bjt@^libbjt.gex > satvap Saturated vapor pressure f_bjt@^libbjt.gex > dew Dew point temperature f_bjt@^libbjt.gex > lw Thermal infrared fluxes f_bjt@^libbjt.gex > lw2 Thermal infrared fluxes v2 f_bjt@^libbjt.gex > pinterp Pressure interpolation f_bjt@^libbjt.gex > zinterp Height interpolation f_bjt@^libbjt.gex > line Draws a line f_bjt@^libbjt.gex > vint2 Mass-weighted vertical integral f_bjt@^libbjt.gex > fish Poisson solver f_fish@^fish.gex > fish_psi Compute streamfunction f_psichi@^fish.gex > fish_chi Compute velocity potential f_psichi@^fish.gex > fish_vor Compute vorticity f_psichi@^fish.gex > fish_div Compute divergence f_psichi@^fish.gex > dewpt Dew-point temperature f_gsudf@^gsudf.gex > ept Equivalent potential temperature f_gsudf@^gsudf.gex > epi Potential Instability f_gsudf@^gsudf.gex > plcl Pressure at LCL f_gsudf@^gsudf.gex > shear Wind Shear f_gsudf@^gsudf.gex > srh1km Storm-relative Helicity 0-1km' f_gsudf@^gsudf.gex > srh3km Storm-relative Helicity 0-3km' f_gsudf@^gsudf.gex > tlcl Temperature at LCL f_gsudf@^gsudf.gex > tsindex Chance of T-storm Initiation f_gsudf@^gsudf.gex > ttindex Total Totals Index f_gsudf@^gsudf.gex > wchill Wind Chill Index (New) f_gsudf@^gsudf.gex > hello Hello, World! sample function f_hello@^libhello.gex > ipc_save Save expression to stream f_Save@^libipc.gex > ipc_load Load variable from file f_Load@^libipc.gex > smth2d Shuman smoother/de-smoother f_smth2d@^libmf.gex > uv2trw Find radial/tangential velocity f_uv2trw@^libmf.gex > re2 General interpolator (regrid2) f_re2@^libmf.gex > esmrf2 Saturation vapor pressure (old MRF) f_esmrf2@^libmf.gex > linreg2 Linear regression: mx + b f_linreg2@^libmf.gex > re General interpolator ffre@^re.gex > re_ General interpolator (verbose) ffre_dbg@^re.gex > regrid2 regrid2-like wrapper for re() f_gsudf@^gsudf.gex > reimg Interpolation for Image Generation' f_gsudf@^gsudf.gex > re General interpolator ffre@^re.gex > re_ General interpolator (verbose) ffre_dbg@^re.gex > regrid2 regrid2-like wrapper for re() f_gsudf@^gsudf.gex > reimg Interpolation for Image Generation' f_gsudf@^gsudf.gex > sh_filt Spherical harmonic filter f_shfilt@^shfilt.gex > sh_power Spherical harmonic spectra f_shpowr@^shfilt.gex > ---------- ----------------------------------- -------------------------- > > > > -- > Arlindo da Silva > dasilva at alum.mit.edu > > ------------------------------------------------------------------------ > From itesh.dash at GMAIL.COM Thu Apr 9 04:28:20 2009 From: itesh.dash at GMAIL.COM (itesh dash) Date: Thu, 9 Apr 2009 15:28:20 +0700 Subject: sdfopen support for 365 day calendars In-Reply-To: <49DDA2DC.6090309@hawaii.edu> Message-ID: The forum is reallya good way to learn also...and that too quickly. can somebdy tell me if its possible to put lables(line country names, or province names) in the plot. and also can I plot province (state/disstrict) level boundaries using grads?? thanks in advance.. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090409/7a0bb1e2/attachment.html From leebyerle at COMCAST.NET Thu Apr 9 07:03:17 2009 From: leebyerle at COMCAST.NET (Lee and Amy Byerle) Date: Thu, 9 Apr 2009 11:03:17 +0000 Subject: convert grib2 to binary format with wgrib2 In-Reply-To: <49DCDCE2.9050203@noaa.gov> Message-ID: Romero, Have you tried just degribbing one field and see if it plots correctly? Then try another and cat them together (remember the order for ctl file). I use wgrib option for -nh (no header). Lee ----- Original Message ----- From: "Wesley Ebisuzaki" To: GRADSUSR at LIST.CINECA.IT Sent: Wednesday, April 8, 2009 12:20:34 PM GMT -06:00 Guadalajara / Mexico City / Monterrey Subject: Re: convert grib2 to binary format with wgrib2 Hi, In a grib file, the fields can be in any order. With a binary file, GrADS expects the fields to be in a specific order. In grib, a missing field is just not there. In a binary file, a missing field is an array of missing values. It is possible rearrange the order of the grib records and to add the missing fields, but why? Wesley Ebisuzaki P.Romero wrote: > > I have questions about converting my grib2 data to binary: > > I tried running ?wgrib2 mygrib2file.grb2 ?bin mydata.bin?, which > created a very large binary file. > > I then tried to use my existing .ctl file (that I had created with > g2ctl.pl), and modify it to point to the new binary file. > > This seemed to work, grads didn?t complain when I tried to load the > control file. > > However, when I tried to plot something, the values were completely off. > > > Whats the correct way to export a grib2 file to binary using wgrib2 & > create a proper .ctl file for this binary file? > > Please help, > > Thanks, > > P.Romero > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090409/caea989b/attachment.html From dasilva at ALUM.MIT.EDU Thu Apr 9 08:02:20 2009 From: dasilva at ALUM.MIT.EDU (Arlindo da Silva) Date: Thu, 9 Apr 2009 08:02:20 -0400 Subject: Win32 Superpack v2.0.a5-oga.4 released Message-ID: Dear Windows Users, We have upload to sourceforge version 2.0.a5-oga.4 the Win32 Superpack: http://sourceforge.net/project/showfiles.php?group_id=161773&package_id=290254&release_id=674521 (See my previous posting announcing a similar release for Linux to learn about what is new in this release --- the Windows build has all the features of the Linux version). We have now reinstated the automatically Windows installer (*-win32_superpack.exe) which will optionally set your path and create an entry in your [Start] menu, placing links on your Desktop. The [Start] menu entry now also includes links to the bundled HTML documentation, with Tutorial, User's Guide and Command Index (from COLA), and "manual pages" for the OpenGrADS extensions. Try out the MERRA and NOMADS Browsers for a (live) graphical user interface to the MERRA reanalysis and NOAA forecast data (GFS, NAM, RUC, Wave) through OpenDAP (a network connection is required). As before, we are also including a *-win32_superpack.zip package for those users who do not have the admin privileges to install software on their Windows boxes. The contents are exactly the same as the *-win32_pack.exe package and are meant to be relocatable: copy the OpenGrADS directory to a USB mem stick and take it on the road with you. The VBscript wrappers at the top remain experimental; I'd appreciate any feedback from people who actually know VBscripting. For those experienced cygwin users preferring a light weight distribution (and willing to set the necessary environment variables), we are again including tarballs with the binaries and extensions. Please any me know of any issues. Enjoy! Arlindo -- Arlindo da Silva dasilva at alum.mit.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090409/888029fe/attachment.html From dasilva at ALUM.MIT.EDU Thu Apr 9 08:14:07 2009 From: dasilva at ALUM.MIT.EDU (Arlindo da Silva) Date: Thu, 9 Apr 2009 08:14:07 -0400 Subject: The OpenGrADS project needs your help Message-ID: All, The OpenGrADS Project (http://opengrads.org) seeks to develop advanced interfaces and extensions based on the main GrADS application ( http://grads.iges.org/grads/) developed and maintained by COLA. The OpenGrADS effort is entirely based on contributions from volunteers in the community using an opensource development model. You do no need to be an experience programmer to contribute to OpenGrADS (well, experienced programmers are very welcome too.) There are a plenty of activities such as helping out with documentation or writing recipes for the Cookbooks http://cookbooks.opengrads.org that do not require advanced programming skills. Or you could also help out testing software (or writing unit test code.) So, drop us a note at opengrads-devel at lists.sf.net if you would like to participate. Cheers! Arlindo -- Arlindo da Silva dasilva at alum.mit.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090409/150d131c/attachment.html From meteo at SPORT123.IT Thu Apr 9 08:56:39 2009 From: meteo at SPORT123.IT (Valerio Guerra) Date: Thu, 9 Apr 2009 14:56:39 +0200 Subject: OpenGrADS Bundle v2.0.a5-oga.4 for Linux/Mac OS X/FreeBSD/Unix released Message-ID: Hi Arlindo, I installed the FreeBSD 7 x64 build on my test machine with no problems (batch mode only). Also the Windows superpack version is ok for me on a WinXP machine. Tomorrow I'll try on Vista x64. Unfortunately today I had no time to test the user defined extensions and the re() function, I hope to try next week. During Easter holidays I'll test the Linux version on the EeePC. Thank you very much. Valerio Guerra From arlindo.dasilva at GMAIL.COM Thu Apr 9 12:10:01 2009 From: arlindo.dasilva at GMAIL.COM (Arlindo da Silva) Date: Thu, 9 Apr 2009 12:10:01 -0400 Subject: sdfopen support for 365 day calendars In-Reply-To: Message-ID: On Thu, Apr 9, 2009 at 4:28 AM, itesh dash wrote: > The forum is reallya good way to learn also...and that too quickly. > can somebdy tell me if its possible to put lables(line country names, or > province names) in the plot. and also can I plot province (state/disstrict) > level boundaries using grads?? > > If you have a shapefile with your province outline you could use the "shape" extension to draw the province outlines for you: http://opengrads.org/doc/udxt/shape/ GrADS has the ability of drawing strings at arbitrary locations, so you could write your own script to label the countries/provinces. Check the User's Guide. -- Arlindo da Silva dasilva at alum.mit.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090409/9bc4007c/attachment.html From jma at COLA.IGES.ORG Thu Apr 9 13:11:31 2009 From: jma at COLA.IGES.ORG (Jennifer Adams) Date: Thu, 9 Apr 2009 13:11:31 -0400 Subject: sdfopen support for 365 day calendars In-Reply-To: <49DDA2DC.6090309@hawaii.edu> Message-ID: The sdfopen code uses the first two time axis values to determine the start time and increment of the time axis. It uses the udunits library to convert the initial time axis value into a date format GrADS can use (integers representing year, month, day, hour, and minute). The udunits library does not support 365 day calendars, so the initial date calculated by the library may be wrong. This problem is particularly noticeable with some IPCC AR4 netcdf files. You can use xdfopen with a 365-day-calendar netcdf file, as long as you specify the time axis completely. Jennifer On Apr 9, 2009, at 3:25 AM, James T. Potemra wrote: > Arlindo and others: > > I'm running version 2.0.a5.oga.3 on a 64-bit linux machine. I get the > following > error when attempting to load netCDF output via sdfopen: > > SDF Error: 365 day calendars are no longer supported by sdfopen > > It works in 1.9.0-rc1, and I was wondering why this feature is no > longer > supported > in 2.0.x versions. Thanks, > > Jim > > Arlindo da Silva wrote: >> All, >> >> We just uploaded to sourceforge version 2.0.a5-oga.4 of the >> OpenGrADS Bundle: >> >> >> http://sourceforge.net/project/showfiles.php?group_id=161773&package_id=305032&release_id=674371 >> > > >> >> As the previous OpenGrADS Bundle v2.0.a5-oga.3 this release is based >> on COLA's GrADS v2.0.a5 and includes additional user defined >> functions >> and commands based on the OpenGrADS User Defined Extensions (see >> original announcement of the OpenGrADS Bundle on this list for >> important caveats; a complete list of extensions appear at the bottom >> of this message.) Read more about bundles here: >> >> http://opengrads.org/wiki/index.php?title=The_OpenGrADS_Bundle >> >> The current release fixes a few bugs, adds HTML documentation and >> some >> new features: >> >> * you can now specify up to 256 different colors (the previous limit >> was 100 colors); >> see attached plot. >> >> * the extensions gxyat now includes the new command set_rgba which >> allows you to >> specify a transparency level (alpha channel) for each defined color. >> >> * the original classic UDF regrid2(), written by Mike Fiorino in >> Fortran, has been implemented >> as a User Defined Extension, mostly as a device to fully test re(), a >> replacement regrid >> function written entirely in C. This release also includes minor bug >> fixes in re(). >> >> See ChangeLog below for additional information. >> >> The OpenGrADS extensions are replacements for the previous (classic) >> User Defined Functions. These extensions are typically written in low >> level programming languages such as C or Fortran. However, you can >> now >> write GrADS expression functions using the GrADS scripting language. >> As an example, we have implemented the Suomen Saakeskus (Finnish >> Weathercenter) collection of thunderstorm related functions >> originally >> developed by Stefan Gofferje as described in the following website: >> >> http://www.saakeskus.fi/index.php >> >> Documentation for these functions are found here: >> >> http://opengrads.org/doc/udxt/saakeskus/ >> >> For example, to plot the storm relative helicity in the first 3km of >> the atmosphere using GFS data try >> >> ga-> d srh3km(ugrdprs,vgrdprs) >> >> BTW, the NOMADS Browser now includes a "Zoom in/out" option under the >> [Set Dim] menu; give it a try. >> >> Enjoy! >> >> Arlindo >> >> -------------- >> ChangeLog >> 2009-04-05 >, >> Version GrADS 2.0.a5.oga.4 >> * Added Steve Bloom's zooming scripts to merra/nomads GUIs >> * Documentation.php: added >> * doc/opengrads: added >> * bundle/bundle_create.sh: docs now part of Bundle >> * gagui.x: now Cmd call back expands %s into default var >> * gacols.h: new defining file defining max number of colors; >> the following files now make use of this information: >> - gauser.c >> - grads.h >> - gxX.c >> - gxeps.c >> - gxgif.c >> - gxps.c >> - gxsubs.c >> * gatypes.h: #ifdef so that it only gets included once >> * gxudx.c: added function to update pst >> * gxyat.c: expanded help for set_rgba, minor revisions >> * extension/re/re.c: in short hand mode, default (1,1) is >> no longer shifted by 1/2 delta lon, delta lat. >> * acinclude.m4: when no supplibs are found, use ./null >> * src/Makefile.am: again builds without the supplibs >> >> ------------- >> >> --- LIST OF INCLUDED EXTENSIONS --- >> >> User >> Defined >> COMMAND Short Description Function at Library >> ---------- ----------------------------------- >> -------------------------- >> printenv Expand environment variables c_xenv@^env.gex >> runenv Expand env vars and run command c_env@^env.gex >> @ Expand env vars and run command c_env@^env.gex >> getenv Get value of environment variable c_getenv@^env.gex >> setenv Set value of environment variable c_setenv@^env.gex >> gxyat Save images in PNG/SVG/PDF/PS c_gxyat@^gxyat.gex >> set_rgba Set color red/green/blue/alpha c_rgba@^gxyat.gex >> hello Hello, World! sample command c_hello@^libhello.gex >> ipc_verb IPC verbose toggle c_Verb@^libipc.gex >> ipc_open Open stream for save/load c_Open@^libipc.gex >> ipc_close Close stream c_Close@^libipc.gex >> ipc_save Save expression to stream c_Save@^libipc.gex >> ipc_define Define variable (obsolete) c_Define@^libipc.gex >> ipc_error Print IPC error message c_Error@^libipc.gex >> cylprms Properties relative to lon/lat c_cylprms@^libmf.gex >> shp_lines Draw lines from shapefile c_lines@^shape.gex >> shp_polyf Draw polygons from shapefile c_polyf@^shape.gex >> ---------- ----------------------------------- >> -------------------------- >> >> User >> Defined >> FUNCTION Short Description Function at Library >> ---------- ----------------------------------- >> -------------------------- >> lt Less than operator f_bjt@^libbjt.gex >> jd Julian day f_bjt@^libbjt.gex >> cosz Cosine solar zenith angle f_bjt@^libbjt.gex >> dayratio Daylight ratio f_bjt@^libbjt.gex >> if Conditional function f_bjt@^libbjt.gex >> maxv Maximum value f_bjt@^libbjt.gex >> minv Minimum value f_bjt@^libbjt.gex >> which Label gridpoints f_bjt@^libbjt.gex >> ftest F-test f_bjt@^libbjt.gex >> ttest T-test f_bjt@^libbjt.gex >> tfit Point linear regression f_bjt@^libbjt.gex >> fit Global linear regression f_bjt@^libbjt.gex >> tcorr2 Time correlation f_bjt@^libbjt.gex >> tregr2 Point linear regression f_bjt@^libbjt.gex >> tmave2 Time averaging w/masking f_bjt@^libbjt.gex >> madvu Calculates -d(u*EXPR)/dx f_bjt@^libbjt.gex >> madvv Calculates -d(V*EXPR)/dy f_bjt@^libbjt.gex >> madvw Calculates -d(W*EXPR)/dp f_bjt@^libbjt.gex >> muadv Zonal advection f_bjt@^libbjt.gex >> mvadv Meridional advection f_bjt@^libbjt.gex >> mwadv Vertical advection f_bjt@^libbjt.gex >> satvap Saturated vapor pressure f_bjt@^libbjt.gex >> dew Dew point temperature f_bjt@^libbjt.gex >> lw Thermal infrared fluxes f_bjt@^libbjt.gex >> lw2 Thermal infrared fluxes v2 f_bjt@^libbjt.gex >> pinterp Pressure interpolation f_bjt@^libbjt.gex >> zinterp Height interpolation f_bjt@^libbjt.gex >> line Draws a line f_bjt@^libbjt.gex >> vint2 Mass-weighted vertical integral f_bjt@^libbjt.gex >> fish Poisson solver f_fish@^fish.gex >> fish_psi Compute streamfunction f_psichi@^fish.gex >> fish_chi Compute velocity potential f_psichi@^fish.gex >> fish_vor Compute vorticity f_psichi@^fish.gex >> fish_div Compute divergence f_psichi@^fish.gex >> dewpt Dew-point temperature f_gsudf@^gsudf.gex >> ept Equivalent potential temperature f_gsudf@^gsudf.gex >> epi Potential Instability f_gsudf@^gsudf.gex >> plcl Pressure at LCL f_gsudf@^gsudf.gex >> shear Wind Shear f_gsudf@^gsudf.gex >> srh1km Storm-relative Helicity 0-1km' f_gsudf@^gsudf.gex >> srh3km Storm-relative Helicity 0-3km' f_gsudf@^gsudf.gex >> tlcl Temperature at LCL f_gsudf@^gsudf.gex >> tsindex Chance of T-storm Initiation f_gsudf@^gsudf.gex >> ttindex Total Totals Index f_gsudf@^gsudf.gex >> wchill Wind Chill Index (New) f_gsudf@^gsudf.gex >> hello Hello, World! sample function f_hello@^libhello.gex >> ipc_save Save expression to stream f_Save@^libipc.gex >> ipc_load Load variable from file f_Load@^libipc.gex >> smth2d Shuman smoother/de-smoother f_smth2d@^libmf.gex >> uv2trw Find radial/tangential velocity f_uv2trw@^libmf.gex >> re2 General interpolator (regrid2) f_re2@^libmf.gex >> esmrf2 Saturation vapor pressure (old MRF) f_esmrf2@^libmf.gex >> linreg2 Linear regression: mx + b f_linreg2@^libmf.gex >> re General interpolator ffre@^re.gex >> re_ General interpolator (verbose) ffre_dbg@^re.gex >> regrid2 regrid2-like wrapper for re() f_gsudf@^gsudf.gex >> reimg Interpolation for Image Generation' f_gsudf@^gsudf.gex >> re General interpolator ffre@^re.gex >> re_ General interpolator (verbose) ffre_dbg@^re.gex >> regrid2 regrid2-like wrapper for re() f_gsudf@^gsudf.gex >> reimg Interpolation for Image Generation' f_gsudf@^gsudf.gex >> sh_filt Spherical harmonic filter f_shfilt@^shfilt.gex >> sh_power Spherical harmonic spectra f_shpowr@^shfilt.gex >> ---------- ----------------------------------- >> -------------------------- >> >> >> >> -- >> Arlindo da Silva >> dasilva at alum.mit.edu >> >> ------------------------------------------------------------------------ >> -- Jennifer M. Adams IGES/COLA 4041 Powder Mill Road, Suite 302 Calverton, MD 20705 jma at cola.iges.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090409/f2ed97e5/attachment.html From stormlaboratory at YAHOO.COM Fri Apr 10 10:32:46 2009 From: stormlaboratory at YAHOO.COM (Angel Dimitrov) Date: Fri, 10 Apr 2009 07:32:46 -0700 Subject: draw cities on a map Message-ID: ?Hello Nicola, ?How are you? I see you are learning GrADS. ?Angel --- On Thu, 4/9/09, Nicola Sebastiani wrote: From: Nicola Sebastiani Subject: draw cities on a map To: GRADSUSR at LIST.CINECA.IT Date: Thursday, April 9, 2009, 12:35 AM Hi, using GRADS, is it possible to draw cities marker and name on a map, having the lat/lon (geographical coordinates) and the city name? written into an (ascii) file? Thank you in advance Nicola ---------------------------------------------------------------------------------------------------------------------------------- Are you interested in Weather Satellite and Earth Observation? for educational purposes? Please, visit???----------->>? ? ? http://www.scsebnic.net ---------------------------------------------------------------------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090410/3d09bda6/attachment.html From stormlaboratory at YAHOO.COM Fri Apr 10 10:39:46 2009 From: stormlaboratory at YAHOO.COM (Angel Dimitrov) Date: Fri, 10 Apr 2009 07:39:46 -0700 Subject: draw cities on a map Message-ID: ?I'm sorry for the last message to GrADS mailing list. It was for Nicola:-) ?Angel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090410/7fa6d0d0/attachment.html From athar at WEATHER2.CO.UK Fri Apr 10 11:48:00 2009 From: athar at WEATHER2.CO.UK (Athar Ahmad) Date: Fri, 10 Apr 2009 16:48:00 +0100 Subject: how to find localised minima and maxima x, y locations Message-ID: Hi, As a new OpenGrads user, can someone advise how to find localised minima and maxima x, y locations and values so that we can plot High or Low labels as appropriate on a surface pressure contour chart. Finding a single minima or maxima will not help as there are multiple centres to be labelled on the same chart. Thanks, Athar -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090410/593370b6/attachment.html From mequitomz at YAHOO.COM.BR Fri Apr 10 13:28:42 2009 From: mequitomz at YAHOO.COM.BR (Arlindo Meque) Date: Fri, 10 Apr 2009 10:28:42 -0700 Subject: Res: how to find localised minima and maxima x, y locations In-Reply-To: Message-ID: Dear Athar, ? This question has been posed recently. Give a look at:? ?????? ? http://opengrads.org/doc/udxt/libmf/ ? ???????Hope that helps ? ? ? Arlindo Veja quais s?o os assuntos do momento no Yahoo! +Buscados http://br.maisbuscados.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090410/e63f5a8a/attachment.html From blossom002 at STUDENT.WCSU.EDU Fri Apr 10 17:37:01 2009 From: blossom002 at STUDENT.WCSU.EDU (Christopher Blossom) Date: Fri, 10 Apr 2009 17:37:01 -0400 Subject: Question regarding FORTRAN Message-ID: An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090410/12ce0736/attachment.html From arlindo.dasilva at GMAIL.COM Fri Apr 10 18:02:15 2009 From: arlindo.dasilva at GMAIL.COM (Arlindo da Silva) Date: Fri, 10 Apr 2009 18:02:15 -0400 Subject: Question regarding FORTRAN In-Reply-To: Message-ID: On Fri, Apr 10, 2009 at 5:37 PM, Christopher Blossom < blossom002 at student.wcsu.edu> wrote: > To all: > > This is Christopher Blossom e-mailing you on Friday, April 10, 2009 at > 5:33pm. I am starting to look at the documentation in depth and I have a > question already. For reading FORTRAN "sequential" unformatted binary data > files, should I use gxtran.exe? I see your point. The "tran" in gxtran is indeed for "translation", but not as in "FORmula TRANslation". Gxtran is an utility to display grads graphical metafiles. Binary data files written from Fortran can be read by any grads binary: grads/gradsdap in v2.0, and gradsc/gradsnc/gradshdf/gradsdods in previous versions. This recipe shows an example: http://cookbooks.opengrads.org/index.php?title=Recipe-004:_Creating_GrADS_binary_gridded_files_using_FORTRAN Good Luck, Arlindo -- Arlindo da Silva dasilva at alum.mit.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090410/30381119/attachment.html From msponsler at COMCAST.NET Fri Apr 10 22:09:30 2009 From: msponsler at COMCAST.NET (Mark Sponsler) Date: Sat, 11 Apr 2009 04:09:30 +0200 Subject: Max # of clevs? Message-ID: Hi Simple question: I'm using Grads 1.9 superpack on Windows. It appears there is a max of 20 clevs before the color scale starts not working anymore and all colored results (clevs or otherwise) become unpredictable after that threshold. Anyone else experince this problem and is there a fix? Thanks From arlindo.dasilva at GMAIL.COM Fri Apr 10 23:46:30 2009 From: arlindo.dasilva at GMAIL.COM (Arlindo da Silva) Date: Fri, 10 Apr 2009 23:46:30 -0400 Subject: Max # of clevs? In-Reply-To: <20090411021033.9D2792006A@mx2.cineca.it> Message-ID: On Fri, Apr 10, 2009 at 10:09 PM, Mark Sponsler wrote: > Hi > Simple question: I'm using Grads 1.9 superpack on Windows. It appears > there is a max of 20 clevs Really? Only 20? > before the color scale starts not working > anymore and all colored results (clevs or otherwise) become unpredictable > after that threshold. > > Anyone else experince this problem and is there a fix? > Can you send a reproducer? For example, a simple script that opens the standard test file (model.ctl, shipped with the superpack). I've increased the number of colors from 100 to 256 in the latest windows superpack v2.0.a5.oga.4. I'd be interested in knowing if you have the same problem in this version. Arlindo > > Thanks > -- Arlindo da Silva dasilva at alum.mit.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090410/b95ba644/attachment.html From arabonis at EGS.UCT.AC.ZA Sat Apr 11 04:58:38 2009 From: arabonis at EGS.UCT.AC.ZA (Jean Pierre Arabonis) Date: Sat, 11 Apr 2009 10:58:38 +0200 Subject: Max # of clevs? In-Reply-To: <20090411021033.9D2792006A@mx2.cineca.it> Message-ID: I've successfully had over 40 levels without a problem using 1.8, I have had problems when having decima place increments where typos have caused problems that took a while to sort out, sometimes incorrectly defined colours can also lead to troubling issues. Good Luck JP Mark Sponsler wrote: > Hi > Simple question: I'm using Grads 1.9 superpack on Windows. It appears > there is a max of 20 clevs before the color scale starts not working > anymore and all colored results (clevs or otherwise) become unpredictable > after that threshold. > > Anyone else experince this problem and is there a fix? > > Thanks > > -- Jean Pierre Arabonis arabonis at egs.uct.ac.za Tel 021 780 1021 cell 084 401 1365 This email is 100% Microsoft Free From msponsler at COMCAST.NET Sun Apr 12 11:34:28 2009 From: msponsler at COMCAST.NET (Mark Sponsler) Date: Sun, 12 Apr 2009 15:34:28 +0000 Subject: Max # of clevs? In-Reply-To: <77fcd6b20904102046l666408feve3b0cbdaf482e7a8@mail.gmail.com> Message-ID: Hi all, Thanks so much for your help.? I found my problem. I was actually trying to do 2 seperate clevs/ccols disaplys.? The first one had 20+ levels in it as did the second. For some reason they clobbered each other. But if I did a?printim betweeen, then issued a 'clear' and did the second ?clevs/ccols, all works fine. And that was my intent all along.? I just forgot to issue the 'clear'. Here's a? segment of the script? 'set gxout shaded' 'set csmooth on' 'set clevs 0?? 5? 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 95 105 115 125 135 145' 'set ccols 96? 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 60 61? 62? 63? 64? 65? 66 66' 'd 1.943846*mag(ugrd10m,vgrd10m)' 'run cbarn.gs 0.75 1' ************************************ * Overlay Topo Map ************************************ 'printim test.png png -f 'fname'.png x700 y541 white' ********************************************** 'clear graphics' 'set gxout shaded' 'set csmooth on' 'set clevs 0 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 95 105 115 125 135 145' 'set ccols 0? 0 73 74 75 76 77 78 79 80 81 82 83 84 85 60 61? 62? 63? 64? 65? 66 66' 'd 1.943846*mag(ugrd10m,vgrd10m)' Thanks again, Mark ----- Original Message ----- From: "Arlindo da Silva" To: GRADSUSR at LIST.CINECA.IT Sent: Friday, April 10, 2009 8:46:30 PM GMT -08:00 US/Canada Pacific Subject: Re: Max # of clevs? On Fri, Apr 10, 2009 at 10:09 PM, Mark Sponsler < msponsler at comcast.net > wrote: Hi Simple question: ?I'm using Grads 1.9 superpack on Windows. ?It appears there is a max of 20 clevs Really? Only 20? ? before the color scale starts not working anymore and all colored results (clevs or otherwise) become unpredictable after that threshold. Anyone else experince this problem and is there a fix? Can you send a reproducer? For example, a simple script that opens the standard test file (model.ctl, shipped with the superpack). I've increased the number of colors from 100 to 256 in the latest windows superpack v2.0.a5.oga.4.? I'd be interested in knowing if you have the same problem in this version. ??? Arlindo ? Thanks -- Arlindo da Silva dasilva at alum.mit.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090412/b1f4db81/attachment.html From blossom002 at STUDENT.WCSU.EDU Sun Apr 12 19:40:30 2009 From: blossom002 at STUDENT.WCSU.EDU (Christopher Blossom) Date: Sun, 12 Apr 2009 19:40:30 -0400 Subject: No subject Message-ID: An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090412/83cc7c49/attachment.html From arlindo.dasilva at GMAIL.COM Sun Apr 12 22:07:08 2009 From: arlindo.dasilva at GMAIL.COM (Arlindo da Silva) Date: Sun, 12 Apr 2009 22:07:08 -0400 Subject: No subject In-Reply-To: Message-ID: On Sun, Apr 12, 2009 at 7:40 PM, Christopher Blossom < blossom002 at student.wcsu.edu> wrote: > To all: > > This is Christopher Blossom e-mailing you on Sunday, April 12, 2009 at > 7:41pm. I am still lookinh at the documentation in depth and I have another > few questions. What does Gaussian mean? You are probably refering to "Gaussian Grids". This is a special grid that appears in conjunction with the so-called spectral methods. In a nutshell, it consists of a uniform longitudinal grid and a non-uniform latitudinal grid; the latitudinal gridpoints are determined based on the Gaussian quadrature formulas. For more information, start here: http://en.wikipedia.org/wiki/Gaussian_quadrature > What is a cray? Long ago, we used to have a grads version for the Cray supercomputer, http://en.wikipedia.org/wiki/Cray > What does endian mean? > I'll refer you once again to the Wikipedia: http://en.wikipedia.org/wiki/Endianess -- Arlindo da Silva dasilva at alum.mit.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090412/c89a1247/attachment.html From veljkobb at YAHOO.COM Mon Apr 13 00:28:04 2009 From: veljkobb at YAHOO.COM (Veljko Petkovic) Date: Sun, 12 Apr 2009 21:28:04 -0700 Subject: BUFR tables Message-ID: Hi, can somebody help me to find BUFR tables for download? Particulary I need table: B2M-000-002-B thanks! Veljko --- Colorado State University Atmospheric Department -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090412/98d7b2e9/attachment.html From mmacleod at SCOTIAWEATHER.COM Mon Apr 13 00:41:37 2009 From: mmacleod at SCOTIAWEATHER.COM (mmacleod@scotiaweather.com) Date: Mon, 13 Apr 2009 04:41:37 +0000 Subject: BUFR tables In-Reply-To: <347786.41363.qm@web55703.mail.re3.yahoo.com> Message-ID: Veljko Petkovic wrote: > Hi, > can somebody help me to find BUFR tables for download? Particulary I > need table: B2M-000-002-B > > thanks! > > Veljko > > --- > Colorado State University > Atmospheric Department > Good morning Veljko. Try this site. http://www.wmo.int/pages/prog/www/WMOCodes/Operational/BUFR/BufrTabB-11-2007.pdf WMO is the official agency for the BUFR code and its application in the environmental world. Hope this helps. Sincerely Mac -- M.A. (Mac) MacLeod President, Scotia Weather Services Inc., 192 Wyse Road, Suite 8, Dartmouth, N.S., Canada, B3A 1M9 Tele: 902-468-3866 Fax: 902-461-1768 Cell: 902-225-5747 Email: mmacleod at scotiaweather.com Web: www.scotiaweather.com From rajkumar_62 at REDIFFMAIL.COM Mon Apr 13 08:25:33 2009 From: rajkumar_62 at REDIFFMAIL.COM (Raj Kumar Sharma) Date: Mon, 13 Apr 2009 12:25:33 -0000 Subject: REGRID COMMAND FOR LINUX Message-ID: Hi,I wanted to use regrid program, I installed opengrads version for WIndows, it is working fine with regrid commandHowever when I installed linux version on my PCgrads-2.0.a5-bin-i686-pc-linux-gnu.tar.gzregrid does not work. Then I tried to install,   grads-2.0.a5.oga.4-bundle-i686-pc-linux-gnu.tar.gz  but could not install.Can someone please tell me, simple buinary version for Linux which has regrid inbuilt.I have Redhat Linux 8 as well as Redhat Enterprise Linux 5. I had tried on both.ThanksRaj -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090413/f5fa564a/attachment.html From qinglan at HKUSUA.HKU.HK Mon Apr 13 09:03:35 2009 From: qinglan at HKUSUA.HKU.HK (qinglan at HKUSUA.HKU.HK) Date: Mon, 13 Apr 2009 21:03:35 +0800 Subject: Draw cities on a map Message-ID: Dear all, I tried to follow the instruction of draw cities on a map. I typed these: ga-> q w2xy 114.1 22.55 X = 5.70783 Y = 4.17181 ga-> x=subwrd(result, 3) The grads window showed: Syntax Error: Invalid Operand 'subwrd' not a variable or function name Error ocurred at column 1 DEFINE error: Invalid expression. I checked the information on line: it showed that subwrd is an intrinsic function, so I should be able to use this function easily. Why the window showed above message? Have I missed to install some functions? I have used grads for some time. It seemed to work fine. What is the problem? Any help and suggestion is highly appreciated! Best regards, Qinglan Li From jli9 at GMU.EDU Mon Apr 13 09:48:27 2009 From: jli9 at GMU.EDU (JL@gmu) Date: Mon, 13 Apr 2009 09:48:27 -0400 Subject: Draw cities on a map In-Reply-To: <20090413210335.snjggesvkos8kgso@imp.webmail.hku.hk> Message-ID: There is nothing wrong with 'subwrd' try to use 'query' command and 'subwrd' in a script file instead of directly typing in, you will find out they work normally. Good luck On Apr 13, 2009, at 9:03 AM, qinglan at HKUSUA.HKU.HK wrote: > Dear all, > > I tried to follow the instruction of draw cities on a map. I typed > these: > ga-> q w2xy 114.1 22.55 > X = 5.70783 Y = 4.17181 > ga-> x=subwrd(result, 3) > > The grads window showed: > > Syntax Error: Invalid Operand > 'subwrd' not a variable or function name > Error ocurred at column 1 > DEFINE error: Invalid expression. > > I checked the information on line: it showed that subwrd is an > intrinsic function, so I should be able to use this function easily. > Why the window showed above message? Have I missed to install some > functions? I have used grads for some time. It seemed to work fine. > What is the problem? > > Any help and suggestion is highly appreciated! > > Best regards, > Qinglan Li -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090413/d5257a9e/attachment.html From blossom002 at STUDENT.WCSU.EDU Mon Apr 13 10:43:06 2009 From: blossom002 at STUDENT.WCSU.EDU (Christopher Blossom) Date: Mon, 13 Apr 2009 10:43:06 -0400 Subject: Draw cities on a map In-Reply-To: <222C3E27-FD8C-4268-BAB8-2AD7756A1728@gmu.edu> Message-ID: An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090413/f671c6f3/attachment.html From arlindo.dasilva at GMAIL.COM Mon Apr 13 10:53:12 2009 From: arlindo.dasilva at GMAIL.COM (Arlindo da Silva) Date: Mon, 13 Apr 2009 10:53:12 -0400 Subject: REGRID COMMAND FOR LINUX In-Reply-To: <20090413122533.27039.qmail@f5mail-236-234.rediffmail.com> Message-ID: On Mon, Apr 13, 2009 at 8:25 AM, Raj Kumar Sharma < rajkumar_62 at rediffmail.com> wrote: > Hi, > I wanted to use regrid program, I installed opengrads version for WIndows, > it is working fine with regrid command > However when I installed linux version on my PC > grads-2.0.a5-bin-i686-pc-linux-gnu.tar.gz > regrid does not work. Then I tried to install, > grads-2.0.a5.oga.4-bundle-i686-pc-linux-gnu.tar.gz > but could not install. > > Can someone please tell me, simple buinary version for Linux which has > regrid inbuilt. > I have Redhat Linux 8 as well as Redhat Enterprise Linux 5. I had tried on > both. In the OpenGrADS Bundle v2.0.a5.oga.4, the regridding function re() is implemented as an "extension" (as it is under Windows. ) You best bet is to do a bundle installation: untar the Linux distribution and place the "Contents/" subdirectory in your path and start using it --- that simple. If you decide for the "Classic" (manual) installation method, in order to enable the OpenGrADS Extensions (needed for the regrid extension re) you will need to set two additional environment variables (using "/usr/local/bin" as an example, replace it with your actual directory name if you install the binaries elsewhere): * Bourne shell and variants (sh, bash, ksh, etc.) % export GA2UDXT=/usr/local/bin/gex/udxt % export LD_LIBRARY_PATH=/usr/local/bin/gex:$LD_LIBRARY_PATH * C-shell (csh, tcsh): % setenv GA2UDXT /usr/local/bin/gex/udxt % setenv LD_LIBRARY_PATH /usr/local/bin/gex:$LD_LIBRARY_PATH Omit the last $LD_LIBRARY_PATH if you do not have this variable already defined. Also, for Mac OS X the environment variable name is "DYLD_LIBRARY_PATH". On Windows, the gex/ directory should be added to your PATH (only needed if not using the Superpack). See the attached INSTALL file for more detail. However, I strongly suggest that you do a Bundle Installation instead, specially because you already using the Windows Superpack. For one, you will have the documentation for the Extensions at your finger tips: Contents/Documentation.html. Arlindo -- Arlindo da Silva dasilva at alum.mit.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090413/38c1f930/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: INSTALL Type: application/octet-stream Size: 9475 bytes Desc: not available Url : http://gradsusr.org/pipermail/gradsusr/attachments/20090413/38c1f930/attachment.obj From Mary-Jo.Nath at NOAA.GOV Mon Apr 13 11:27:19 2009 From: Mary-Jo.Nath at NOAA.GOV (Mary Jo Nath) Date: Mon, 13 Apr 2009 11:27:19 -0400 Subject: Draw cities on a map In-Reply-To: Message-ID: http://grads.iges.org/grads/gadoc/gadocindex.html Then click on "S" and then "scripting language". Christopher Blossom wrote: > > To all: > > How do you use/make a script file? > > > > Christopher Blossom > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090413/2713e83c/attachment.html From blossom002 at STUDENT.WCSU.EDU Mon Apr 13 11:59:10 2009 From: blossom002 at STUDENT.WCSU.EDU (Christopher Blossom) Date: Mon, 13 Apr 2009 11:59:10 -0400 Subject: Questions and CD Message-ID: An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090413/ff662db9/attachment.html From arlindo.dasilva at GMAIL.COM Mon Apr 13 12:26:34 2009 From: arlindo.dasilva at GMAIL.COM (Arlindo da Silva) Date: Mon, 13 Apr 2009 12:26:34 -0400 Subject: Questions and CD In-Reply-To: Message-ID: On Mon, Apr 13, 2009 at 11:59 AM, Christopher Blossom < blossom002 at student.wcsu.edu> wrote: > To all: > > > > I have a couple of questions: when I use rc=write(Jan1979.ctl, dset > Jan1979.dat), I get the following message: Syntax Error: Invalid Operand > > 'write' not a variable or function name > > Error ocurred at column 1 > > DEFINE error: Invalid expression. > > Why does that happen? > How much of the User's Guide have you read? http://grads.iges.org/grads/gadoc/users.html I suspect you are entering GrADS scripting syntax at the "ga->" command line; this is a very common mistake we always make when we are starting with grads. Review the User's Guide, there is a lot of useful information there. > I am running grads OPeNDAP > There are some guidelines under http://grads.iges.org/grads/users.html for submitting questions to gradsusr. These are important so that we know exactly which version of the software you are running. For example, "grads OPeNDAP" does not give us nearly enough information to know what you are running. > Additionally, I looked at http://nomads.ncdc.noaa.gov/dods/NCEP_NARR_DAILY/197901/197901/narr-b_221_197901dd_hh00_000.info > and saw some asterisks. When I put down d weasd3hr, I got the following > error message:gancgrid error: unable to allocate memory for grtmp grid > storage > > grid size = xlen * ylen * zlen * tlen * elen = 28 * 28 * -999 * 1 * 1 > > Data Request Error: Error for variable 'weasd3hr' > > Error ocurred at column 1 > > DISPLAY error: Invalid expression > > Expression = weasd3hr. > > Why was that? > The error message "unable to allocate memory" means just that: your computer is running low on memory. Close some applications or add some more RAM. There is also some chance that there is a bug in GrADS that is causing it to tun out of memory. We would need more information in order to diagnose that. > Finally, I have the CD. > Hmm. CD? Which CD is that? How am I suppose to know? As a general rule, I think it is very important for us to share our knowledge with new users but there are some basic "Netiquete" rules that we all need to be attentive to, e.g., http://www.livinginternet.com/i/ia_nq_basics.htm In particular, "research before you ask" and always review your message asking yourself: am I providing enough information for someone to be able to understand and ideally reproduce my problem? Arlindo -- Arlindo da Silva dasilva at alum.mit.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090413/4a77fb2b/attachment.html From jm08j at FSU.EDU Mon Apr 13 13:32:39 2009 From: jm08j at FSU.EDU (J-P Michael) Date: Mon, 13 Apr 2009 13:32:39 -0400 Subject: KML ouuput Message-ID: I'm having trouble with the new KML feature of GrADS. For some reason I cannot get any output when using KML - no KML file is created. Has anyone seen something like this before? Any suggestions? From jimp at HAWAII.EDU Mon Apr 13 14:07:53 2009 From: jimp at HAWAII.EDU (James T. Potemra) Date: Mon, 13 Apr 2009 08:07:53 -1000 Subject: Subject lines in GrADS posts [Re: Questions and CD] In-Reply-To: <77fcd6b20904130926v64945b2x1dbe38d192418ae0@mail.gmail.com> Message-ID: May I add to Arlindo's response and remind everyone that these emails are archived in a database, and this database becomes almost useless with subject lines such as "Please help", or "question", etc. I'm sure many mail filters, human and otherwise, delete these on receipt. Please try and use a subject line that is somewhat meaningful; this will save time in the future for those who search the archive. Thanks, Jim Arlindo da Silva wrote: > On Mon, Apr 13, 2009 at 11:59 AM, Christopher Blossom > > wrote: > > To all: > > > > I have a couple of questions: when I use > rc=write(Jan1979.ctl, dset Jan1979.dat), I get the following > message: Syntax Error: Invalid Operand > > 'write' not a variable or function name > > Error ocurred at column 1 > > DEFINE error: Invalid expression. > > Why does that happen? > > > How much of the User's Guide have you read? > > http://grads.iges.org/grads/gadoc/users.html > > I suspect you are entering GrADS scripting syntax at the "ga->" > command line; this is a very common mistake we always make when we are > starting with grads. Review the User's Guide, there is a lot of useful > information there. > > > I am running grads OPeNDAP > > > There are some guidelines under > > http://grads.iges.org/grads/users.html > > for submitting questions to gradsusr. These are important so that we > know exactly which version of the software you are running. For > example, "grads OPeNDAP" does not give us nearly enough information to > know what you are running. > > > > Additionally, I looked at > http://nomads.ncdc.noaa.gov/dods/NCEP_NARR_DAILY/197901/197901/narr-b_221_197901dd_hh00_000.info > and > saw some asterisks. When I put down d weasd3hr, I got the > following error message:gancgrid error: unable to allocate memory > for grtmp grid storage > > grid size = xlen * ylen * zlen * tlen * elen = 28 * 28 * -999 > * 1 * 1 > > Data Request Error: Error for variable 'weasd3hr' > > Error ocurred at column 1 > > DISPLAY error: Invalid expression > > Expression = weasd3hr. > > Why was that? > > > The error message "unable to allocate memory" means just that: your > computer is running low on memory. Close some applications or add some > more RAM. There is also some chance that there is a bug in GrADS that > is causing it to tun out of memory. We would need more information in > order to diagnose that. > > > Finally, I have the CD. > > > Hmm. CD? Which CD is that? How am I suppose to know? > > As a general rule, I think it is very important for us to share our > knowledge with new users but there are some basic "Netiquete" rules > that we all need to be attentive to, e.g., > > http://www.livinginternet.com/i/ia_nq_basics.htm > > In particular, "research before you ask" and always review your > message asking yourself: am I providing enough information for someone > to be able to understand and ideally reproduce my problem? > > Arlindo > > -- > Arlindo da Silva > dasilva at alum.mit.edu From jimp at HAWAII.EDU Mon Apr 13 14:12:59 2009 From: jimp at HAWAII.EDU (James T. Potemra) Date: Mon, 13 Apr 2009 08:12:59 -1000 Subject: KML ouuput In-Reply-To: Message-ID: Hi J-P: It seems to work fine with v2.0.a5.oga.3. Following Jennifer's message (02/24/2009): 'set kml wibble' 'set gxout kml' 'd variable' This gives you two files: wibble.tif and wibble.kml. You can then edit wibble.kml and change the name of the image file in the tag to whatever you created with printim. Jim J-P Michael wrote: > I'm having trouble with the new KML feature of GrADS. For some reason I cannot get any output when using KML - no KML file is created. Has anyone seen something like this before? Any suggestions? > From jma at COLA.IGES.ORG Mon Apr 13 14:36:13 2009 From: jma at COLA.IGES.ORG (Jennifer Adams) Date: Mon, 13 Apr 2009 14:36:13 -0400 Subject: KML ouuput In-Reply-To: <49E380AB.3020301@hawaii.edu> Message-ID: By default, when you use 'gxout kml' two files are created: grads.kml and grads.tif. If you use 'set kml fileroot', then the two files will have the fileroot that you specify -- with a .kml and a .tif appended. The .kml file will contain an tag that points to the image file grads.tif. Although it is possible to change this tag to point to another image file, it is likely that the the georeferencing information in the .kml file will become incorrect. The image output from printim is something different from the image output from 'gxout kml'. The image file created with 'gxout kml' is a grid of colored pixels -- no map, no borders, no contours, no axis labels. Think of it as the equivalent of 'gxout fwrite' but instead of writing out floating point values, it writes out color index numbers. The output from 'gxout geotiff' is exactly like the output from fwrite, except that the format is TIFF and it also contains the georeferencing info along with the grid of floating point data values. Jennifer On Apr 13, 2009, at 2:12 PM, James T. Potemra wrote: > Hi J-P: > > It seems to work fine with v2.0.a5.oga.3. Following Jennifer's > message > (02/24/2009): > > 'set kml wibble' > 'set gxout kml' > 'd variable' > > This gives you two files: wibble.tif and wibble.kml. > You can then edit wibble.kml and change the name of the image file in > the tag to whatever you created with printim. > > Jim > > J-P Michael wrote: >> I'm having trouble with the new KML feature of GrADS. For some >> reason I cannot get any output when using KML - no KML file is >> created. Has anyone seen something like this before? Any suggestions? >> -- Jennifer M. Adams IGES/COLA 4041 Powder Mill Road, Suite 302 Calverton, MD 20705 jma at cola.iges.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090413/36c90227/attachment.html From blossom002 at STUDENT.WCSU.EDU Mon Apr 13 15:04:10 2009 From: blossom002 at STUDENT.WCSU.EDU (Christopher Blossom) Date: Mon, 13 Apr 2009 15:04:10 -0400 Subject: Question regarding FORTRAN In-Reply-To: <96CCA8E3C56DC045B938CD1BD2BEE188C066350035@W-DRSHEPHERD.wcsu.local> Message-ID: An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090413/785c42c1/attachment.html From jma at COLA.IGES.ORG Mon Apr 13 15:17:25 2009 From: jma at COLA.IGES.ORG (Jennifer Adams) Date: Mon, 13 Apr 2009 15:17:25 -0400 Subject: Questions and CD In-Reply-To: Message-ID: On Apr 13, 2009, at 11:59 AM, Christopher Blossom wrote: > To all: > > I have a couple of questions: when I use rc=write(Jan1979.ctl, > dset Jan1979.dat), I get the following message: Syntax Error: > Invalid Operand > 'write' not a variable or function name > Error ocurred at column 1 > DEFINE error: Invalid expression. Put your write command in a script, the write function is only in the scripting language. > I am running grads OPeNDAP As Arlindo pointed out, the protocol is to include the the operating system you're running on, as well as the output from 'q config' in your post. > Why does that happen? > Additionally, I looked at http://nomads.ncdc.noaa.gov/dods/NCEP_NARR_DAILY/197901/197901/narr-b_221_197901dd_hh00_000.info > and saw some asterisks. When I put down d weasd3hr, I got the > following error message:gancgrid error: unable to allocate memory > for grtmp grid storage > grid size = xlen * ylen * zlen * tlen * elen = 28 * 28 * -999 * > 1 * 1 Here is the problem: your Z dimension is set to something that is inconsistent with this data set, because the dim size given is -999. Check the output from 'q dims' before you invoke display or define and make sure you've got all your dimensions set properly. > Data Request Error: Error for variable 'weasd3hr' > Error ocurred at column 1 > DISPLAY error: Invalid expression > Expression = weasd3hr. > Why was that? > Finally, I have the CD. However, how do I view the files? The > extensions in the monthly folders are .nar, .sqr, .hr and .sum. > There is also a .PIC file for tracks. Another extension is .bgi. > Finally, there is a file called INSTALL. I would guess that none of these file are directly readable/viewable with GrADS. Those file extensions don't correspond to any standard data format that I know of. You'll have to look for more metadata on your CD to find out what they mean. Jennifer -- Jennifer M. Adams IGES/COLA 4041 Powder Mill Road, Suite 302 Calverton, MD 20705 jma at cola.iges.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090413/8f161b05/attachment.html From hersala at GMAIL.COM Tue Apr 14 11:03:49 2009 From: hersala at GMAIL.COM (hersala) Date: Tue, 14 Apr 2009 12:03:49 -0300 Subject: How to consult the email Grads users database. Message-ID: Dear James, Could you send me please the link to this email database. Surely it will save a lot of time to many of us. Thank you. Hern?n. 2009/4/13 James T. Potemra > May I add to Arlindo's response and remind everyone that these emails > are archived in a database, and this database becomes almost useless > with subject lines such as "Please help", or "question", etc. I'm sure > many mail filters, human and otherwise, delete these on receipt. Please > try and use a subject line that is somewhat meaningful; this will save > time in the future for those who search the archive. Thanks, > > Jim > > Arlindo da Silva wrote: > >> On Mon, Apr 13, 2009 at 11:59 AM, Christopher Blossom >> > wrote: >> >> To all: >> >> >> >> I have a couple of questions: when I use >> rc=write(Jan1979.ctl, dset Jan1979.dat), I get the following >> message: Syntax Error: Invalid Operand >> >> 'write' not a variable or function name >> >> Error ocurred at column 1 >> >> DEFINE error: Invalid expression. >> >> Why does that happen? >> >> >> How much of the User's Guide have you read? >> >> http://grads.iges.org/grads/gadoc/users.html >> >> I suspect you are entering GrADS scripting syntax at the "ga->" >> command line; this is a very common mistake we always make when we are >> starting with grads. Review the User's Guide, there is a lot of useful >> information there. >> >> >> I am running grads OPeNDAP >> >> >> There are some guidelines under >> >> http://grads.iges.org/grads/users.html >> >> for submitting questions to gradsusr. These are important so that we >> know exactly which version of the software you are running. For >> example, "grads OPeNDAP" does not give us nearly enough information to >> know what you are running. >> >> >> >> Additionally, I looked at >> >> http://nomads.ncdc.noaa.gov/dods/NCEP_NARR_DAILY/197901/197901/narr-b_221_197901dd_hh00_000.info >> < >> http://nomads.ncdc.noaa.gov/dods/NCEP_NARR_DAILY/197901/197901/narr-b_221_197901dd_hh00_000.info> >> and >> saw some asterisks. When I put down d weasd3hr, I got the >> following error message:gancgrid error: unable to allocate memory >> for grtmp grid storage >> >> grid size = xlen * ylen * zlen * tlen * elen = 28 * 28 * -999 >> * 1 * 1 >> >> Data Request Error: Error for variable 'weasd3hr' >> >> Error ocurred at column 1 >> >> DISPLAY error: Invalid expression >> >> Expression = weasd3hr. >> >> Why was that? >> >> >> The error message "unable to allocate memory" means just that: your >> computer is running low on memory. Close some applications or add some >> more RAM. There is also some chance that there is a bug in GrADS that >> is causing it to tun out of memory. We would need more information in >> order to diagnose that. >> >> >> Finally, I have the CD. >> >> >> Hmm. CD? Which CD is that? How am I suppose to know? >> >> As a general rule, I think it is very important for us to share our >> knowledge with new users but there are some basic "Netiquete" rules >> that we all need to be attentive to, e.g., >> >> http://www.livinginternet.com/i/ia_nq_basics.htm >> >> In particular, "research before you ask" and always review your >> message asking yourself: am I providing enough information for someone >> to be able to understand and ideally reproduce my problem? >> >> Arlindo >> >> -- >> Arlindo da Silva >> dasilva at alum.mit.edu >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090414/e9288c37/attachment.html From hrc at EAS.GATECH.EDU Tue Apr 14 11:58:47 2009 From: hrc at EAS.GATECH.EDU (Hai-Ru Chang) Date: Tue, 14 Apr 2009 11:58:47 -0400 Subject: variables 121 and 122 In-Reply-To: <77fcd6b20904082054x4f1ebb83kcc985efde6e568e2@mail.gmail.com> Message-ID: Hello, ECMWF daily forecast now achieves the maximum and minimum 2 meter surface temperature since last six hours. The code numbers of the two variables are 121 and 122. But both grib2clt.pl and gribmap don't recognize the variables. So I can't use grads to plot out them. Is there any way to correct it? Thanks! Dr. Hai-Ru Chang School of Earth and Atmospheric Sciences Georgia Institute of Technology Atlanta, GA 30332-0340 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090414/1b3920b3/attachment.html From jimp at HAWAII.EDU Tue Apr 14 13:39:55 2009 From: jimp at HAWAII.EDU (James T. Potemra) Date: Tue, 14 Apr 2009 07:39:55 -1000 Subject: How to consult the email Grads users database. In-Reply-To: <5b40c90904140803u1c81017dmcc769ffab2710e9e@mail.gmail.com> Message-ID: Sure, the archive is maintained at: http://list.cineca.it/archives/gradsusr.html You'll have to register the first time. Jim hersala wrote: > Dear James, > Could you send me please the link to this email database. Surely it > will save a lot of time to many of us. > Thank you. > Hern?n. > > 2009/4/13 James T. Potemra > > > May I add to Arlindo's response and remind everyone that these emails > are archived in a database, and this database becomes almost useless > with subject lines such as "Please help", or "question", etc. I'm > sure > many mail filters, human and otherwise, delete these on receipt. > Please > try and use a subject line that is somewhat meaningful; this will save > time in the future for those who search the archive. Thanks, > > Jim > > Arlindo da Silva wrote: > > On Mon, Apr 13, 2009 at 11:59 AM, Christopher Blossom > > >> wrote: > > To all: > > > > I have a couple of questions: when I use > rc=write(Jan1979.ctl, dset Jan1979.dat), I get the following > message: Syntax Error: Invalid Operand > > 'write' not a variable or function name > > Error ocurred at column 1 > > DEFINE error: Invalid expression. > > Why does that happen? > > > How much of the User's Guide have you read? > > http://grads.iges.org/grads/gadoc/users.html > > I suspect you are entering GrADS scripting syntax at the "ga->" > command line; this is a very common mistake we always make > when we are > starting with grads. Review the User's Guide, there is a lot > of useful > information there. > > > I am running grads OPeNDAP > > > There are some guidelines under > > http://grads.iges.org/grads/users.html > > for submitting questions to gradsusr. These are important so > that we > know exactly which version of the software you are running. For > example, "grads OPeNDAP" does not give us nearly enough > information to > know what you are running. > > > > Additionally, I looked at > > http://nomads.ncdc.noaa.gov/dods/NCEP_NARR_DAILY/197901/197901/narr-b_221_197901dd_hh00_000.info > > > and > saw some asterisks. When I put down d weasd3hr, I got the > following error message:gancgrid error: unable to allocate > memory > for grtmp grid storage > > grid size = xlen * ylen * zlen * tlen * elen = 28 * 28 > * -999 > * 1 * 1 > > Data Request Error: Error for variable 'weasd3hr' > > Error ocurred at column 1 > > DISPLAY error: Invalid expression > > Expression = weasd3hr. > > Why was that? > > > The error message "unable to allocate memory" means just that: > your > computer is running low on memory. Close some applications or > add some > more RAM. There is also some chance that there is a bug in > GrADS that > is causing it to tun out of memory. We would need more > information in > order to diagnose that. > > > Finally, I have the CD. > > > Hmm. CD? Which CD is that? How am I suppose to know? > > As a general rule, I think it is very important for us to > share our > knowledge with new users but there are some basic "Netiquete" > rules > that we all need to be attentive to, e.g., > > http://www.livinginternet.com/i/ia_nq_basics.htm > > In particular, "research before you ask" and always review your > message asking yourself: am I providing enough information for > someone > to be able to understand and ideally reproduce my problem? > > Arlindo > > -- > Arlindo da Silva > dasilva at alum.mit.edu > > > > From heiner at MISU.SU.SE Tue Apr 14 13:31:14 2009 From: heiner at MISU.SU.SE (=?ISO-8859-1?Q?Heiner_K=F6rnich?=) Date: Tue, 14 Apr 2009 19:31:14 +0200 Subject: variables 121 and 122 In-Reply-To: <409FBAA9-66EE-42BD-8BD0-6B9CF93873CB@eas.gatech.edu> Message-ID: Dear Hai-Ru Chang, I am using CDO or NCO to rename the variable in the grib- or netcdf-file. Check their homepages: http://www.mpimet.mpg.de/fileadmin/software/cdo/ or http://nco.sourceforge.net/ For nco, you have to convert the file first to netcdf, so I would recommend cdo eg: cdo chname,121,tmax input.grb output.grb Regards, Heiner On Tue, Apr 14, 2009 at 5:58 PM, Hai-Ru Chang wrote: > Hello, ECMWF daily forecast now achieves the maximum and minimum > 2 meter surface temperature since last six hours. The code numbers of the > two variables are 121 and 122. But both grib2clt.pl and gribmap don't > recognize the variables. So I can't use grads to plot out them. Is there > any way to correct it? Thanks! > > > > > > Dr. Hai-Ru Chang > > School of Earth and Atmospheric Sciences > > Georgia Institute of Technology > > Atlanta, GA 30332-0340 > > > > -- Heiner K?rnich Dept. of Meteorology Tel: +46 8 164333 Stockholms University, SE-106 91 Stockholm, Sweden Email: heiner at misu.su.se www.misu.su.se/~heiner/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090414/485b1658/attachment.html From Shih at RFF.ORG Tue Apr 14 14:14:16 2009 From: Shih at RFF.ORG (Shih, Jhih-Shyang) Date: Tue, 14 Apr 2009 14:14:16 -0400 Subject: gribmap problem Message-ID: Dear GRADS users: I am a new user of GRADS. I installed grads-1.8sl11-win32e.exe. I was able to create a ctl file from attached grb file. However I was unable to create idx file using 'gribmap'. I entered the following command under dos command line >gribmap -i grib_file.ctl But no idx file was created. Nothing happened and there was no error message neither. I have attached the grb and ctl file. Does anyone have any suggestions? Thanks for your kind help! Jhih-Shyang -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090414/07f3ac22/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: test.grb Type: application/octet-stream Size: 56470 bytes Desc: test.grb Url : http://gradsusr.org/pipermail/gradsusr/attachments/20090414/07f3ac22/attachment.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: test.ctl Type: application/octet-stream Size: 887 bytes Desc: test.ctl Url : http://gradsusr.org/pipermail/gradsusr/attachments/20090414/07f3ac22/attachment-0001.obj From vinicius.beatrix at GMAIL.COM Tue Apr 14 14:33:05 2009 From: vinicius.beatrix at GMAIL.COM (Vinicius Souza) Date: Tue, 14 Apr 2009 15:33:05 -0300 Subject: Question about ERA Interim Message-ID: Hello folks! Anyone retrieve fields from ERA Interim ? http://data-portal.ecmwf.int/data/d/interim_daily/ If someone do, can explain to me how exactly the page works? How they split the time, for example to 6 in 6 hours. Someone can help me with any information? Thanks -- Vinicius From hrc at EAS.GATECH.EDU Tue Apr 14 15:47:59 2009 From: hrc at EAS.GATECH.EDU (Hai-Ru Chang) Date: Tue, 14 Apr 2009 15:47:59 -0400 Subject: How to use template to control different ensemble members In-Reply-To: <99d0dc5f0904141031h4e463ff5g5c1d3e3f62970a3f@mail.gmail.com> Message-ID: Hello, I have an ensemble forecast output. Different ensemble members are stored into different files. Is there any way to use template option to access different members in one .ctl file? Thanks! Dr. Hai-Ru Chang School of Earth and Atmospheric Sciences Georgia Institute of Technology Atlanta, GA 30332-0340 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090414/daaf7ea0/attachment.html From jma at COLA.IGES.ORG Tue Apr 14 15:57:52 2009 From: jma at COLA.IGES.ORG (Jennifer Adams) Date: Tue, 14 Apr 2009 15:57:52 -0400 Subject: How to use template to control different ensemble members In-Reply-To: <3F51C53B-82EA-42CA-92D8-8441FE58F1A6@eas.gatech.edu> Message-ID: On Apr 14, 2009, at 3:47 PM, Hai-Ru Chang wrote: > Hello, > I have an ensemble forecast output. Different ensemble > members are stored into different files. Is there any way to use > template option to access different members in one .ctl file? Thanks! Here are some documentation pages to read on this subject: http://grads.iges.org/grads/gadoc/ensembles.html http://grads.iges.org/grads/gadoc/descriptorfile.html#EDEF Jennifer > > > > > > Dr. Hai-Ru Chang > School of Earth and Atmospheric Sciences > Georgia Institute of Technology > Atlanta, GA 30332-0340 > > -- Jennifer M. Adams IGES/COLA 4041 Powder Mill Road, Suite 302 Calverton, MD 20705 jma at cola.iges.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090414/12a61bd9/attachment.html From Wesley.Ebisuzaki at NOAA.GOV Tue Apr 14 16:54:44 2009 From: Wesley.Ebisuzaki at NOAA.GOV (Wesley Ebisuzaki) Date: Tue, 14 Apr 2009 16:54:44 -0400 Subject: variables 121 and 122 In-Reply-To: <409FBAA9-66EE-42BD-8BD0-6B9CF93873CB@eas.gatech.edu> Message-ID: Hi, wgrib needs updated ecmwf grib tables. You'll probably find the fields listed with the names "var121" and "var122". Wesley Ebisuzaki Hai-Ru Chang wrote: > Hello, > ECMWF daily forecast now achieves the maximum and minimum 2 > meter surface temperature since last six hours. The code numbers of > the two variables are 121 and 122. But both grib2clt.pl and gribmap > don't recognize the variables. So I can't use grads to plot out them. > Is there any way to correct it? Thanks! > > > > > > Dr. Hai-Ru Chang > > School of Earth and Atmospheric Sciences > > Georgia Institute of Technology > > Atlanta, GA 30332-0340 > > > From arlindo.dasilva at GMAIL.COM Tue Apr 14 18:06:47 2009 From: arlindo.dasilva at GMAIL.COM (Arlindo da Silva) Date: Tue, 14 Apr 2009 18:06:47 -0400 Subject: gribmap problem In-Reply-To: Message-ID: On Tue, Apr 14, 2009 at 2:14 PM, Shih, Jhih-Shyang wrote: > Dear GRADS users: > > I am a new user of GRADS. I installed grads-1.8sl11-win32e.exe. > I strongly suggest you upgrade to a newer version; recent Windows updates appear to have broken this old build (ca. 2002). I'd suggest you get the win32_superpack v2.0.a5.oga.4: http://sourceforge.net/project/showfiles.php?group_id=161773&package_id=290254&release_id=674521 Get the .exe package. I just tried it on your test file and it worked just fine. Arlindo > I was able to create a ctl file from attached grb file. However I was > unable to create idx file using 'gribmap'. > > I entered the following command under dos command line > > >gribmap -i grib_file.ctl > > But no idx file was created. Nothing happened and there was no error > message neither. > > I have attached the grb and ctl file. Does anyone have any suggestions? > > Thanks for your kind help! > > Jhih-Shyang > > > -- Arlindo da Silva dasilva at alum.mit.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090414/8d52b5b4/attachment.html From Daniele.Gandini at ARPA.PIEMONTE.IT Wed Apr 15 04:27:10 2009 From: Daniele.Gandini at ARPA.PIEMONTE.IT (Daniele Gandini) Date: Wed, 15 Apr 2009 10:27:10 +0200 Subject: variables 121 and 122 Message-ID: Infact. I replace the names var121 and var122 in this way: t2m_max 0 121,1,0 ** undefined t2m_min 0 122,1,0 ** undefined Bye. Daniele ----- Original Message ----- From: "Wesley Ebisuzaki" To: Sent: Tuesday, April 14, 2009 10:54 PM Subject: Re: variables 121 and 122 > Hi, > > wgrib needs updated ecmwf grib tables. You'll probably find the > fields listed with > the names "var121" and "var122". > > Wesley Ebisuzaki > > > Hai-Ru Chang wrote: > > Hello, > > ECMWF daily forecast now achieves the maximum and minimum 2 > > meter surface temperature since last six hours. The code numbers of > > the two variables are 121 and 122. But both grib2clt.pl and gribmap > > don't recognize the variables. So I can't use grads to plot out them. > > Is there any way to correct it? Thanks! > > > > > > > > > > > > Dr. Hai-Ru Chang > > > > School of Earth and Atmospheric Sciences > > > > Georgia Institute of Technology > > > > Atlanta, GA 30332-0340 > > > > > > From davide.sacchetti at ARPAL.ORG Wed Apr 15 04:54:55 2009 From: davide.sacchetti at ARPAL.ORG (Davide Sacchetti) Date: Wed, 15 Apr 2009 10:54:55 +0200 Subject: BUFR tables In-Reply-To: <347786.41363.qm@web55703.mail.re3.yahoo.com> Message-ID: actually I don't remember where my table comes from ... but I send it to you as it is. I don't use grads for BUFR (grads does not handle, for what I know, BUFR from ECMWF: then I Hope that this table works for you) Bye bye Davide On Sun, 2009-04-12 at 21:28 -0700, Veljko Petkovic wrote: > Hi, > can somebody help me to find BUFR tables for download? Particulary I > need table: B2M-000-002-B > > thanks! > > Veljko > > --- > Colorado State University > Atmospheric Department > > -- Sacchetti Davide Centro Funzionale Meteo Idrologico di Protezione Civile della Regione Liguria ARPAL Unit? Tecnica Complessa di livello Regionale V.le Brigare Partigiane 2 16121 Genova (I) tel: +39 010 6437535 fax: +39 010 6437520 mail: davide.sacchetti at arpal.org web: www.meteoliguria.it -------------- next part -------------- # # BUFR Table B - Classification of Elements # # Data #F X Y Scale RefVal Width Units Element Name 0; 0; 1; 0; 0; 24; CCITT_IA5; TABLE A ENTRY 0; 0; 2; 0; 0; 256; CCITT_IA5; TABLE A DATA CATEGORY DESCRIPTIO 0; 0; 3; 0; 0; 256; CCITT_IA5; TABLE A DATA CATEGORY DESCRIPTION 0; 0; 5; 0; 0; 24; CCITT_IA5; BUFR EDITION NUMBER 0; 0; 10; 0; 0; 8; CCITT_IA5; F DESCRIPTOR TO BE ADDED OR DEFIN 0; 0; 11; 0; 0; 16; CCITT_IA5; X DESCRIPTOR TO BE ADDED OR DEFIN 0; 0; 12; 0; 0; 24; CCITT_IA5; Y DESCRIPTOR TO BE ADDED OR DEFIN 0; 0; 13; 0; 0; 256; CCITT_IA5; ELEMENT NAME LN 1 0; 0; 14; 0; 0; 256; CCITT_IA5; ELEMENT NAME LN 2 0; 0; 15; 0; 0; 192; CCITT_IA5; UNITS NAME 0; 0; 16; 0; 0; 8; CCITT_IA5; UNITS SCALE SIGN 0; 0; 17; 0; 0; 24; CCITT_IA5; UNITS SCALE 0; 0; 18; 0; 0; 8; CCITT_IA5; UNITS REFERENCE SIGN 0; 0; 19; 0; 0; 80; CCITT_IA5; UNITS REFERENCE VALUE 0; 0; 20; 0; 0; 24; CCITT_IA5; ELEMENT DATA WIDTH 0; 0; 30; 0; 0; 48; CCITT_IA5; DESCRIPTOR DEFINING SEQUENCE 0; 1; 1; 0; 0; 7; NUMERIC; WMO BLOCK NUMBER 0; 1; 2; 0; 0; 10; NUMERIC; WMO STATION NUMBER 0; 1; 3; 0; 0; 3; NUMERIC; WMO REGION NUMBER 0; 1; 4; 0; 0; 3; NUMERIC; WMO REGION SUB-AREA 0; 1; 5; 0; 0; 17; NUMERIC; BUOY/PLATFORM IDENTIFIER 0; 1; 6; 0; 0; 64; CCITT_IA5; AIRCRAFT IDENTIFIER (FLIGHT NUMBE 0; 1; 7; 0; 0; 10; CODE_TABLE; SAID SATELLITE IDENTIFIER 0; 1; 8; 0; 0; 64; CCITT_IA5; AIRCRAFT REGISTRATION NUMBER (TAI 0; 1; 9; 0; 0; 64; CCITT_IA5; TYPE OF COMMERCIAL ACFT 0; 1; 10; 0; 0; 64; CCITT_IA5; STATIONARY BOUY PLATFORM IDENTIFI 0; 1; 11; 0; 0; 72; CCITT_IA5; SHIP CALL SIGN 0; 1; 12; 0; 0; 9; DEGREES_TRUE; DIRECTION OF MOTION OBSERVING PLA 0; 1; 13; 0; 0; 10; METER/SECOND; SPEED OF MOTION OF OBSERVING PLAT 0; 1; 14; 2; 0; 10; METER/SECOND; PLATFORM DRIFT SPEED (HIGH PRECIS 0; 1; 15; 0; 0; 4; CODE_TABLE; TRUE DIR OF MOVING PLATFORM PAST 0; 1; 16; 0; 0; 4; CODE_TABLE; AVG SPD MOVING PLATFORM PAST 3 HO 0; 1; 21; 0; 0; 14; NUMERIC; SYNOPTIC FEATURE ID 0; 1; 25; 0; 0; 24; CCITT_IA5; STORM IDENTIFIER 0; 1; 26; 0; 0; 64; CCITT_IA5; WMO STORM NAME 0; 1; 31; 0; 0; 16; CODE_TABLE; GENERATING CENTER 0; 1; 32; 0; 0; 8; CODE_TABLE; GENERATING APPLICATION 0; 1; 50; 0; 0; 48; CCITT_IA5; NMC REPORT IDENTIFIER 0; 1; 62; 0; 0; 40; CCITT_IA5; NAT'L ASSIGNED STATION IDENTIFIER 0; 1; 63; 0; 0; 64; CCITT_IA5; ICLI ICAO LOCATION IDENTIFIER 0; 1; 164; 0; 0; 32; CCITT_IA5; SEQNUM LDM SEQUENCE NUMBER 0; 1; 192; 0; 0; 4; CCITT_IA5; RADIOSONDE REPORT PART 0; 1; 193; 0; 0; 64; CCITT_IA5; SATELLITE IDENTIFIER 0; 1; 194; 0; 0; 64; CCITT_IA5; BUHD BULLETIN HEADER 0; 1; 195; 0; 0; 8; CCITT_IA5; SACO COUNTRY/AGENCY OPERATING SATELLITE 0; 1; 196; 0; 0; 16; CCITT_IA5; SANA INDICATOR FIGURE FOR SATELLITE NAME 0; 1; 197; 0; 0; 64; CCITT_IA5; RADIOSONDE SHIP OR MOBILE LND STN 0; 1; 198; 0; 0; 64; CCITT_IA5; RPID REPORT IDENTIFIER 0; 1; 204; 0; 0; 8; CODE_TABLE; SWPR SATELLITE WIND PRODUCER 0; 2; 1; 0; 0; 2; CODE_TABLE; TYPE OF STATION 0; 2; 2; 0; 0; 4; FLAG_TABLE; TYPE OF INSTR. FOR WIND MEASUREME 0; 2; 3; 0; 0; 4; CODE_TABLE; TYPE OF MEASURING INSTRUMENT USED 0; 2; 4; 0; 0; 4; CODE_TABLE; TYPE OF INSTR/CROP FOR EVAP/EVAPO 0; 2; 5; 2; 0; 7; DEGREES; PRECISION OF TEMPERATURE OBS. 0; 2; 11; 0; 0; 8; CODE_TABLE; RADIOSONDE TYPE 0; 2; 12; 0; 0; 4; CODE_TABLE; RADIOSONDE COMPUTATIONAL METHOD 0; 2; 13; 0; 0; 4; CODE_TABLE; SOLAR AND INFRARED RADIATION CORR 0; 2; 14; 0; 0; 7; CODE_TABLE; TRACKING TECHNIQUE/STATUS OF SYST 0; 2; 15; 0; 0; 4; CODE_TABLE; RADIOSONDE COMPLETENESS 0; 2; 21; 0; 0; 9; FLAG_TABLE; SATELLITE INSTRUMENT DATA USED IN 0; 2; 22; 0; 0; 8; FLAG_TABLE; SATELLITE DATA PROCESSING TECHNIQ 0; 2; 23; 0; 0; 8; CODE_TABLE; CMCM SATELLITE DERIVED WIND COMPUTATIO 0; 2; 24; 0; 0; 4; CODE_TABLE; INT. MEAN HUMIDITY COMPUTATIONAL 0; 2; 25; 0; 0; 25; FLAG_TABLE; SATELLITE CHANNEL(S) USED IN COMP 0; 2; 26; 2; 0; 12; METERS; CROSS TRACK RESOLUTION 0; 2; 27; 2; 0; 12; METERS; ALONG TRACK RESOLUTION 0; 2; 28; 0; 0; 32; FLAG_TABLE; GEOSTAT. SOUNDER SATELL CHAN'LS U 0; 2; 29; 0; 0; 8; FLAG_TABLE; GEOSTAT. SOUNDER SATELL CHAN'LS U 0; 2; 30; 0; 0; 3; CODE_TABLE; METH OF CURRENT MEASUREMENT 0; 2; 31; 0; 0; 5; CODE_TABLE; DURATION & TIME OF CURRENT CODE M 0; 2; 32; 0; 0; 2; CODE_TABLE; INDICATOR FOR DIGITIZATION 0; 2; 33; 0; 0; 3; CODE_TABLE; METHOD OF SALINITY/DEPTH MEASUREM 0; 2; 34; 0; 0; 5; CODE_TABLE; DROGUE TYPE 0; 2; 35; 0; 0; 9; METERS; CABLE LENGTH 0; 2; 36; 0; 0; 2; CODE_TABLE; BUOY TYPE 0; 2; 37; 0; 0; 3; CODE_TABLE; METHOD OF TIDAL OBSERVATION 0; 2; 38; 0; 0; 3; CODE_TABLE; METH OF SEA SURFACE TEMPERATURE M 0; 2; 39; 0; 0; 3; CODE_TABLE; METH OF WET BULB TEMPERATURE MEAS 0; 2; 40; 0; 0; 4; CODE_TABLE; METH RMV CODE VELOC & MOTION OF P 0; 2; 41; 0; 0; 6; CODE_TABLE; METH FOR EST RPTS OF SYNOP FEATUR 0; 2; 42; 0; 0; 6; CODE_TABLE; METHOD OF REPORT CONSTRUCTION 0; 2; 43; 0; 0; 6; CODE_TABLE; PRECISION OF LAT/LON REPORT 0; 2; 51; 0; 0; 4; CODE_TABLE; INDIC TO SPECIFY OBS METH EXTRM T 0; 2; 61; 0; 0; 3; CODE_TABLE; AIRCRAFT NAVIGATION SYSTEM 0; 2; 62; 0; 0; 4; CODE_TABLE; TYPE OF AIRCRAFT DATA RELAY SYSTE 0; 2; 63; 2; -18000; 16; DEGREES; AIRCRAFT ROLL ANGLE 0; 2; 70; 0; 0; 4; CODE_TABLE; ORIGINAL SPECIFICATION OF LAT/LON 0; 2; 101; 0; 0; 4; CODE_TABLE; TYPE OF ANTENNA 0; 2; 102; 0; 0; 8; METERS; ANTENNA HGT ABOVE TOWER 0; 2; 103; 0; 0; 2; FLAGE; TABLE RADOME 0; 2; 104; 0; 0; 4; CODE_TABLE; ANTENNA POLARIZATION 0; 2; 105; 0; 0; 6; DB; MAXIMUM ANTENNA GAIN 0; 2; 106; 1; 0; 6; DEGREES; 3 - DB BANDWIDTH 0; 2; 107; 0; 0; 6; DB; SIDELOBE SUPRESSION 0; 2; 108; 0; 0; 6; DB; CROSSPOL DISCRI. (ON AXIS) 0; 2; 109; 2; 0; 12; DEGREES/SECOND; ANTENNA SPEED (AZIMUTH) 0; 2; 110; 2; 0; 12; DEGREES/SECOND; ANTENNA SPEED (ELEVATION) 0; 2; 111; 1; 0; 10; DEGREES; RADAR INCIDENCE ANGLE 0; 2; 112; 1; 0; 12; DEGREES; RADAR AZIMUTH ANGLE 0; 2; 113; 0; 0; 4; NUMERICS; NO. OF AZIMUTH LOOKS 0; 2; 114; 0; 0; 15; M**2; ANTENNA EFFECTIVE SURFACE AREA 0; 2; 121; 8; 0; 7; HZ; MEAN FREQUENCY 0; 2; 122; 6; -128; 8; HZ; FREQUENCY AGILITY RANGE 0; 2; 123; 4; 0; 7; WATTS; PEAK POWER 0; 2; 124; 1; 0; 7; WATTS; AVERAGE POWER 0; 2; 125; 1; 0; 8; HZ; PULSE REPETITION FREQUENCY 0; 2; 126; 7; 0; 6; SECOND; PULSE WIDTH 0; 2; 127; 6; 0; 7; HZ; RECEIVER INTERMEDIATE FREQUENCY 0; 2; 128; 5; 0; 6; HZ; INTERMEDIATE FREQUENCY BANDWIDTH 0; 2; 129; 0; -150; 5; DB; MINIMUM DETECTABLE SIGNAL 0; 2; 130; 0; 0; 7; DB; DYNAMIC RANGE 0; 2; 131; 0; 0; 2; FLAG_TABLE; SENSITIVITY TIME CONTROL 0; 2; 132; 2; 0; 6; DEGREES; AZIMUTH POINTING ACCURACY 0; 2; 133; 2; 0; 6; DEGREES; ELEVATION POINTING ACCURACY 0; 2; 134; 2; 0; 16; DEGREES; ANTENNA BEAM AZIMUTH 0; 2; 135; 2; -9000; 15; DEGREES; ANTENNA ELEVATION 0; 2; 140; 0; 0; 9; DEGREES; SATELLITE RADAR BEAM AZIMUTH ANGL 0; 2; 141; 0; 0; 24; CCITT_IA5; MEAS.TYPE SERIAL NBR/IDENT 0; 2; 142; 0; 0; 32; CCITT_IA5; OZONE INSTRUMENT 0; 2; 143; 0; 0; 7; NUMERIC; INSTRUMENT TYPE 0; 2; 183; 0; 0; 1; CODE_TABLE; QUALITY OF PRESSURE MEASUREMENT 0; 2; 184; 0; 0; 1; CODE_TABLE; QUALITY OF WATER SFC TEMP MEASURE 0; 2; 185; 0; 0; 1; CODE_TABLE; QUALITY OF AIR TEMP MEASUREMENT 0; 2; 186; 0; 0; 3; CODE_TABLE; QUAL CONTROL INDIC FOR FOLLOWING 0; 2; 187; 0; 0; 1; CODE_TABLE; QUALITY OF BUOY SATELLIT TRANSMIS 0; 2; 188; 0; 0; 3; CODE_TABLE; QUAL CONTROL INDICATOR FOR BUOY L 0; 2; 189; 0; 0; 3; CODE_TABLE; QUAL CONTROL INDIC FOR BUOY TIME 0; 2; 190; 0; 0; 8; CODE_TABLE; U, V QUALITY INDICATOR 0; 2; 191; 0; 0; 4; CODE_TABLE; W QUALITY INDICATOR 0; 2; 192; 0; 0; 6; CODE_TABLE; RADIOSONDE CORRECTION TYPE APPLIE 0; 2; 193; 0; 0; 3; CODE_TABLE; IND TYPE OF STN OPERATION PAST/PR 0; 2; 200; 0; 0; 4; CODE_TABLE; OBJECTIVE FORECAST TECHNIQUE USED 0; 2; 206; 0; 0; 4; MONTH; MONTH - RELEASE TIME 0; 2; 207; 0; 0; 6; DAY; DAY - RELEASE TIME 0; 2; 208; 0; 0; 5; HOUR; HOUR - RELEASE TIME 0; 2; 209; 0; 0; 6; MINUTE; MINUTE - RELEASE TIME 0; 2; 210; 0; 0; 3; FLAG_TABLE; STATION/SEA LEVEL COMPARISON 0; 4; 1; 0; 0; 12; YEAR; YEAR YEAR 0; 4; 2; 0; 0; 4; MONTH; MNTH MONTH 0; 4; 3; 0; 0; 6; DAY; DAYS DAY 0; 4; 4; 0; 0; 5; HOUR; HOUR HOUR 0; 4; 5; 0; 0; 6; MINUTE; MINU MINUTE 0; 4; 6; 0; 0; 6; SECOND; SECOND 0; 4; 11; 0; -1024; 11; YEARS; TIME INCREMENT 0; 4; 12; 0; -1024; 11; MONTHS; TIME INCREMENT 0; 4; 13; 0; -1024; 11; DAYS; TIME INCREMENT 0; 4; 14; 0; -1024; 11; HOURS; TIME INCREMENT 0; 4; 15; 0; -2048; 12; MINUTES; TIME INCREMENT 0; 4; 16; 0; -4096; 13; SECONDS; TIME INCREMENT 0; 4; 21; 0; -1024; 11; YEARS; TIME PERIOD OR DISPLACEMENT 0; 4; 22; 0; -1024; 11; MONTHS; TIME PERIOD OR DISPLACEMENT 0; 4; 23; 0; -1024; 11; DAYS; TIME PERIOD OR DISPLACEMENT 0; 4; 24; 0; -2048; 12; HOURS; TIME PERIOD OR DISPLACEMENT 0; 4; 25; 0; -2048; 12; MINUTES; TIME PERIOD OR DISPLACEMENT 0; 4; 26; 0; -4096; 13; SECONDS; TIME PERIOD OR DISPLACEMENT 0; 4; 31; 0; 0; 8; HOUR; DUR OF TIME REL TO FOLLOWING VALU 0; 4; 41; 0; -1440; 12; MINUTE; TIME DIFFERENCE UTC - LMT 0; 4; 43; 0; 0; 9; DAY; DAY OF THE YEAR 0; 4; 44; 0; 0; 3; CODE_TABLE; DAY OF THE WEEK 0; 4; 53; 0; 0; 6; NUMERIC; NUMBER OF DAYS WITH PRECIP => 1MM 0; 4; 192; 0; 0; 12; HOURS; RECIEPT TIME - REPORT TIME 0; 4; 193; 0; 0; 12; MINUTES; RECIEPT TIME - REPORT TIME 0; 4; 194; 0; 0; 12; HOURS; RELEASE TIME OF SONDE 0; 4; 195; 0; 0; 5; HOUR; FORECAST CYCLE HOUR 0; 4; 200; 0; 0; 12; YEAR; RCYR YEAR - TIME OF RECEIPT 0; 4; 201; 0; 0; 4; MONTH; RCMO MONTH - TIME OF RECEIPT 0; 4; 202; 0; 0; 6; DAY; RCDY DAY - TIME OF RECEIPT 0; 4; 203; 0; 0; 5; HOUR; RCHR HOUR - TIME OF RECEIPT 0; 4; 204; 0; 0; 6; MINUTE; RCMI MINUTE - TIME OF RECEIPT 0; 4; 205; 0; 0; 6; SECOND; SECOND - TIME OF RECEIPT 0; 4; 206; 0; 0; 32; SECOND; DATA BASE INGEST TIME FROM 1 JAN 0; 4; 207; 0; 0; 5; HOUR; HOUR - TIME OF MAX WIND (GUST) 0; 4; 208; 0; 0; 6; MINUTE; MINUTE - TIME OF NAX WIND (GUST) 0; 5; 1; 5; -9000000; 25; DEGREES; LATITUDE(HIGH ACCURACY) 0; 5; 2; 2; -9000; 15; DEGREES; CLAT LATITUDE(COARSE ACCURACY) 0; 5; 3; 2; -9000; 15; DEGREES; ALTERNATE LATITUDE 0; 5; 11; 5; -9000000; 25; DEGREES; LATITUDE INCREMENT(HIGH ACCURACY) 0; 5; 12; 2; -9000; 15; DEGREES; LATITUDE INCREMENT(COARSE ACCURAC 0; 5; 21; 2; 0; 16; DEGREES_TRUE; BEARING OR AZIMUTH 0; 5; 22; 2; 0; 16; DEGREES_TRUE; SOLAR AZIMUTH 0; 5; 30; 0; 0; 12; DEGREES; DIRECTION (SPECTRAL) 0; 5; 31; 0; 0; 12; NUMERIC; ROW NUMBER 0; 5; 33; 1; 0; 16; METERS; PIXEL SIZE ON HORIZONTAL-1 0; 5; 40; 0; 0; 24; NUMERIC; ORBIT NUMBER 0; 5; 41; 0; 0; 8; NUMERIC; SCAN LINE NUMBER 0; 5; 42; 0; 0; 6; NUMERIC; CHANNEL NUMBER 0; 5; 43; 0; 0; 8; NUMERIC; FIELD OF VIEW NUMBER 0; 5; 50; 5; 0; 17; NUMERIC; SIGMA LEVEL 0; 5; 52; 0; 0; 5; NUMERIC; CHANNEL NUMBER INCREMENT 0; 5; 53; 0; 0; 5; NUMERIC; FIELD OF VIEW NUMBER INCREMENT 0; 6; 1; 5; -18000000; 26; DEGREES; LONGITUDE (HIGH ACCURACY) 0; 6; 2; 2; -18000; 16; DEGREES; CLON LONGITUDE (COARSE ACCURACY) 0; 6; 3; 2; -18000; 16; DEGREES; ALTERNATE LONGITUDE 0; 6; 11; 5; -18000000; 26; DEGREES; LONGITUDE INCREMENT (HIGH ACCURAC 0; 6; 12; 2; -18000; 16; DEGREES; LONGITUDE INCREMENT (COARSE ACCUR 0; 6; 21; 1; 0; 13; METERS; DISTANCE 0; 6; 30; 5; 0; 13; RAD/M; WAVENUMBER (SPECTRAL) 0; 6; 31; 0; 0; 12; NUMERIC; COLUMN NUMBER 0; 6; 33; 1; 0; 16; METERS; PIXEL SIZE ON HORIZONTAL-2 0; 7; 1; 0; -400; 15; METERS; HEIGHT OF STATION 0; 7; 2; 1; -40; 16; METERS; HEIGHT OR ALTITUDE 0; 7; 3; 1; -400; 17; M**2/S**2; GEOPOTENTIAL 0; 7; 4; -1; 0; 14; PASCALS; PRLC PRESSURE 0; 7; 5; 0; -400; 12; METERS; HEIGHT INCREMENT 0; 7; 6; 0; 0; 15; METERS; HEIGHT ABOVE STATION 0; 7; 7; 0; -1000; 17; M; HEIGHT 0; 7; 8; 0; -10000; 20; M**2/S**2; GEOPOTENTIAL 0; 7; 21; 2; -9000; 15; DEGREES; ELEVATION 0; 7; 22; 2; -9000; 15; DEGREES; SOLAR ELEVATION 0; 7; 61; 2; 0; 14; METERS; DEPTH BELOW LAND SURFACE 0; 7; 62; 1; 0; 17; METERS; DEPTH BELOW SEA SURFACE 0; 7; 190; 0; 0; 12; METERS; HEIGHT INCREMENT 0; 7; 192; 0; -400; 17; GPM; FLIGHT LEVEL (PRESSURE ALTITUDE) 0; 7; 193; 0; -400; 17; GPDM; FLIGHT LEVEL (PRESSURE ALTITUDE) 0; 7; 194; 0; -400; 15; M; HEIGHT OR ALTITUDE ABOVE MSL 0; 8; 1; 0; 0; 7; FLAG_TABLE; VERTICAL SOUNDING SIGNIFICANCE 0; 8; 2; 0; 0; 6; CODE_TABLE; VERT. SIGNIFICANCE (SFC OBSERVATI 0; 8; 3; 0; 0; 6; CODE_TABLE; VERT. SIGNIFICANCE (SAT OBSERVATI 0; 8; 4; 0; 0; 3; CODE_TABLE; PHASE OF AIRCRAFT FLIGHT 0; 8; 5; 0; 0; 4; CODE_TABLE; SURFACE SYNOPTIC FEATURE SIGNIFIC 0; 8; 10; 0; 0; 4; CODE_TABLE; VERT SIGNIFICANCE(FORECAST SOUNDI 0; 8; 11; 0; 0; 6; CODE_TABLE; HORIZONTAL SIGNIFICANCE 0; 8; 12; 0; 0; 2; CODE_TABLE; LAND/SEA QUALIFIER 0; 8; 13; 0; 0; 2; CODE_TABLE; DAY/NIGHT QUALIFIER 0; 8; 20; 0; 0; 16; NUMERIC; TOTAL NR MISG ENTITIES W/RES TO A 0; 8; 21; 0; 0; 5; CODE_TABLE; TIME SIGNIFICANCE 0; 8; 22; 0; 0; 16; NUMERIC; TOTAL NUMBER(W/RESPECT TO ACCUM O 0; 8; 23; 0; 0; 7; CODE_TABLE; FIRST ORDER STATISTICS 0; 8; 24; 0; 0; 7; CODE_TABLE; DIFFERENCE STATISTICS 0; 8; 31; 0; 0; 8; BUFR; TABLE A DATA CATEGORY 0; 8; 32; 0; 0; 14; CODE_TABLE; DATA SIGNIF-INTERACTIVE RETRIEVAL 0; 8; 51; 0; 0; 3; CODE_TABLE; QUALIFIER-NR MISG VALUES IN CALC 0; 8; 52; 0; 0; 5; CODE_TABLE; COND. FOR WHICH NR OF DAYS OF OC 0; 8; 53; 0; 0; 2; CODE_TABLE; DAY OF OCCURRENCE QUALIFIER 0; 8; 192; 0; 0; 16; NUMERIC; UPDATE SEQUENCE NUMBER 0; 8; 193; 0; 0; 16; NUMERIC; OBSERVATION DATABASE KEY 0; 8; 194; 0; 0; 6; CODE_TABLE; CORRECTION INDICATOR 0; 8; 195; 0; 0; 6; CODE_TABLE; QUALITY CONTROL TYPE 0; 8; 196; 0; 0; 6; CODE_TABLE; QUALITY CONTROL DECISION 0; 8; 197; 0; 0; 5; CODE_TABLE; RECORD TEMPERATURE KEY 0; 8; 198; 0; 0; 4; CODE_TABLE; TIME SIGNIFICANCE 0; 8; 199; 0; 0; 3; CODE_TABLE; SUWS SOURCE UNITS OF WIND SPEED 0; 8; 200; 0; 0; 4; NUMERIC; NMC QUALITY MARK 0; 8; 202; 0; 0; 6; CODE_TABLE; RCTS RECEIPT TIME SIGNIFICANT 0; 8; 232; 0; 0; 14; CODE_TABLE; DATA SIGNIF-INTERACTIVE RETRIEVAL 0; 9; 6; 3; 0; 10; SECONDS; TIME OF ASCENDING NODE 0; 10; 1; 0; -400; 15; METERS; HEIGHT OF LAND SURFACE 0; 10; 2; 1; -40; 16; METERS; HEIGHT 0; 10; 3; 1; -400; 17; M**2/S**2; GEOPOTENTIAL 0; 10; 4; 1; 0; 14; PASCALS; PRESSURE 0; 10; 7; 0; -1000; 17; METERS; HGHT HEIGHT 0; 10; 8; 0; -10000; 20; M**2/S**2; GEOPOTENTIAL 0; 10; 50; 2; 0; 16; METERS; STD. DEV. ALTITUDE 0; 10; 51; 1; 0; 14; PASCALS; PRESSURE REDUCED TO MSL 0; 10; 52; 1; 0; 14; PASCALS; ALTIMETER SETTING (QNH) 0; 10; 60; 1; -1024; 11; PASCALS; PRESSURE CHANGE 0; 10; 61; 1; -500; 10; PASCALS; 3 HOUR PRESSURE CHANGE 0; 10; 62; 1; -1000; 11; PASCALS; 24 HOUR PRESSURE CHANGE 0; 10; 63; 0; 0; 4; CODE_TABLE; CHARACTERISTIC OF PRESSURE TENDEN 0; 10; 192; 0; -400; 17; GPM; GEOPOTENTIAL HEIGHT 0; 10; 193; 0; -400; 17; GPDM; GEOPOTENTIAL HEIGHT 0; 10; 194; 0; -2000; 17; GPM; DEPARTURE FROM ICAO STD ATMOSPHER 0; 10; 195; 0; -400; 17; DM; GEOMETRIC HEIGHT 0; 11; 1; 0; 0; 9; DEGREES_TRUE; WDIR WIND DIRECTION 0; 11; 2; 1; 0; 12; METERS/SECOND; WSPD WIND SPEED 0; 11; 3; 1; -4096; 13; METERS/SECOND; U-COMPONENT 0; 11; 4; 1; -4096; 13; METERS/SECOND; V-COMPONENT 0; 11; 5; 1; -512; 10; PASCALS/SECOND; W-COMPONENT 0; 11; 6; 2; -4096; 13; METERS/SECOND; W-COMPONENT 0; 11; 11; 0; 0; 9; DEGREES_TRUE; WIND DIRECTION AT 10 METERS 0; 11; 12; 1; 0; 12; METERS/SECOND; WIND SPEED AT 10 METERS 0; 11; 13; 0; 0; 9; DEGREES_TRUE; WIND DIRECTION AT 5 METERS 0; 11; 14; 1; 0; 12; METERS/SECOND; WIND SPEED AT 5 METERS 0; 11; 21; 9; -65536; 17; SECOND**-1; RELATIVE VORTICITY 0; 11; 22; 9; -65536; 17; SECOND**-1; DIVERGENCE 0; 11; 23; 2; -65536; 17; M**2/SECOND; VELOCITY POTENTIAL 0; 11; 31; 0; 0; 4; CODE_TABLE; DEGREE OF TURBULENCE 0; 11; 32; 1; -40; 16; METERS; HEIGHT OF BASE OF TURBULENCE 0; 11; 33; 1; -40; 16; METERS; HEIGHT OF TOP OF TURBULENCE 0; 11; 34; 1; -1024; 11; METERS/SECOND; VERTICAL GUST VELOCITY 0; 11; 35; 2; -8192; 14; METERS/SECOND**2VERTICAL; GUST ACCELERATION 0; 11; 36; 1; 0; 10; METERS/SECOND; MAXIMUM DERIVED EQUIVALENT VERTIC 0; 11; 41; 1; 0; 12; METERS/SECOND; MAX WIND SPEED (GUSTS) 0; 11; 42; 1; 0; 12; METERS/SECOND; MAX WIND SPEED(10 MIN MEAN WIND) 0; 11; 43; 0; 0; 9; DEGREES_TRUE; MAXIMUM WIND GUST DIRECTION 0; 11; 44; 0; 0; 9; DEGREES_TRUE; SFC-5000FT MEAN LYR WIND DIRECTIO 0; 11; 49; 0; 0; 9; DEGREES_TRUE; STD. DEV. OF WIND DIRECTION 0; 11; 50; 1; 0; 12; METERS/SECOND; STD. DEV. HORIZ WIND SPEED 0; 11; 51; 1; 0; 8; METERS/SECOND; STD DEV VERT WIND COMPONENT 0; 11; 61; 1; 0; 12; METERS/SECOND; ABSOLUTE WIND SHEAR(1KM LAYER BEL 0; 11; 62; 1; 0; 12; METERS/SECOND; ABSOLUTE WIND SHEAR(1KM LAYER ABO 0; 11; 192; 1; -1024; 11; METERS/SECOND; MEAN U-COMPONENT 0; 11; 193; 1; -1024; 11; METERS/SECOND; MEAN V-COMPONENT 0; 11; 194; 1; -128; 8; METERS/SECOND; MEAN W-COMPONENT 0; 11; 195; 1; 0; 9; METERS/SECOND; STANDARD DEVIATION U 0; 11; 196; 1; 0; 9; METERS/SECOND; STANDARD DEVIATION V 0; 11; 197; 1; 0; 6; METERS/SECOND; STANDARD DEVIATION W 0; 11; 198; 1; 0; 12; METERS/SECOND; WIND SPEED 10000FT (EXTRAPLOATED) 0; 11; 199; 1; 0; 12; METERS/SECOND; WIND SPEED 20000FT (EXTRAPOLATED) 0; 11; 200; 1; 0; 12; METERS/SECOND; INFLATED WIND SPEED (MOS) 0; 11; 201; 1; 0; 12; METERS/SECOND; MEAN WIND SPEED PAST 12 HRS 0; 11; 210; 1; 0; 12; METERS/SECOND; ROOT MEAN SQUARE VECTOR WIND ERRO 0; 11; 221; 0; 0; 9; DEGREES_TRUE; MEAN WIND DIR 5000FT-10000FT 0; 11; 222; 1; 0; 12; METERS/SECOND; MEAN WIND SPEED 5000FT-10000FT 0; 11; 223; 1; 0; 12; METERS/SECOND; 10 METER EXTRAPOLATED WIND SPEED 0; 11; 224; 1; 0; 12; METERS/SECOND; 20 METER EXTRAPOLATED WIND SPEED 0; 12; 1; 1; 0; 12; DEGREES_KELVIN; TMDB TEMPERATURE/DRY BULB TEMPERATURE 0; 12; 2; 1; 0; 12; DEGREES_KELVIN; WET BULB TEMPERATURE 0; 12; 3; 1; 0; 12; DEGREES_KELVIN; DEW POINT TEMPERATURE 0; 12; 4; 1; 0; 12; DEGREES_KELVIN; DRY BULB TEMPERATURE AT 2 METERS 0; 12; 5; 1; 0; 12; DEGREES_KELVIN; WET BULB TEMPERATURE AT 2 METERS 0; 12; 6; 1; 0; 12; DEGREES_KELVIN; DEW POINT TEMPERATURE AT 2 METERS 0; 12; 7; 1; 0; 12; DEGREES_KELVIN; VIRTUAL TEMPERATURE 0; 12; 11; 1; 0; 12; DEGREES_KELVIN; MAXIMUM TEMPERATURE 0; 12; 12; 1; 0; 12; DEGREES_KELVIN; MINIMUM TEMPERATURE 0; 12; 13; 1; 0; 12; DEGREES_KELVIN; GROUND MINIMUM TEMPERATURE PAST 1 0; 12; 14; 1; 0; 12; DEGREES_KELVIN; MAXIMUM TEMPERATURE AT 2MTRS,PAST 0; 12; 15; 1; 0; 12; DEGREES_KELVIN; MINIMUM TEMPERATURE AT 2MTRS,PAST 0; 12; 16; 1; 0; 12; DEGREES_KELVIN; MAXIMUM TEMPERATURE AT 2MTRS,PAST 0; 12; 17; 1; 0; 12; DEGREES_KELVIN; MINIMUM TEMPERATURE AT 2MTRS,PAST 0; 12; 20; 2; -2000; 12; DEG; K/DAY RADIATIVE HEATING PROFILE 0; 12; 30; 1; 0; 12; DEGREES_KELVIN; SOIL TEMPERATURE 0; 12; 40; 3; -2048; 12; WATTS/METER**2; SENSIBLE HEAT FLUX 0; 12; 51; 1; 0; 10; DEGREES_KELVIN; STANDARD DEVIATION TEMPERATURE 0; 12; 52; 1; 0; 12; DEGREES_KELVIN; HIGHEST DAILY MEAN TEMPERATURE 0; 12; 53; 1; 0; 12; DEGREES_KELVIN; LOWEST DAILY MEAN TEMPERATURE 0; 12; 61; 1; 0; 12; DEGREES_KELVIN; SKIN TEMPERATURE 0; 12; 62; 1; 0; 12; DEGREES_KELVIN; EQUIVALENT BLACK BODY TEMPERATURE 0; 12; 63; 1; 0; 12; DEGREES_KELVIN; BRIGHTNESS TEMPERATURE 0; 12; 192; 0; 0; 6; CODE_TABLE; PRECISION OF AIRCRAFT TEMPERATURE 0; 12; 193; 1; 0; 12; DEGREES_KELVIN; TEMPERATURE (CITY) 0; 12; 194; 1; 0; 12; DEGREES_KELVIN; MAXIMUM TEMPERATURE (CITY) 0; 12; 195; 1; 0; 12; DEGREES_KELVIN; MINIMUM TEMPERATURE (CITY) 0; 12; 200; 1; 0; 12; DEGREES_KELVIN; DAYTIME MAX TEMPERATURE 0; 12; 201; 1; 0; 12; DEGREES_KELVIN; NIGHTTIME MIN TEMPERATURE (MOS) 0; 13; 1; 5; 0; 14; KG/KG; SPECIFIC HUMIDITY 0; 13; 2; 5; 0; 14; KG/KG; MIXING RATIO 0; 13; 3; 0; 0; 7; %; RELATIVE HUMIDITY 0; 13; 4; 1; 0; 10; PASCALS; VAPOR PRESSURE 0; 13; 5; 3; 0; 7; KG/METER**3; VAPOR DENSITY 0; 13; 6; 1; -40; 16; METERS; MIXING HEIGHTS 0; 13; 11; 1; -1; 14; KG/METER**2; TOTAL PRECIPITATION/TOTAL WATER E 0; 13; 12; 2; -2; 12; METERS; DEPTH OF FRESH SNOW 0; 13; 13; 2; -2; 16; METERS; TOTAL SNOW DEPTH 0; 13; 14; 4; 0; 12; KG/METER**2/SEC; RAINFALL/WATER EQUIV OF SNOW(AVG 0; 13; 15; 7; 0; 12; METERS/SECOND; SNOWFALL (AVERAGED RATE) 0; 13; 16; 0; 0; 7; KG/METER**2; PRECIPITABLE WATER 0; 13; 19; 1; -1; 14; KG/METER**2; TOTAL PRECIPITATION PAST 1 HOUR 0; 13; 20; 1; -1; 14; KG/METER**2; TOTAL PRECIPITATION PAST 3 HOURS 0; 13; 21; 1; -1; 14; KG/METER**2; TOTAL PRECIPITATION PAST 6 HOURS 0; 13; 22; 1; -1; 14; KG/METER**2; TOTAL PRECIPITATION PAST 12 HOURS 0; 13; 23; 1; -1; 14; KG/METER**2; TOTAL PRECIPITATION PAST 24 HOURS 0; 13; 31; 0; 0; 7; KG/METER**2; EVAPOTRANSPIRATION 0; 13; 32; 1; 0; 8; KG/METER**2; EVAP/EVAPOTRANSPIRATION 0; 13; 40; 3; -2048; 12; WATTS/METER**2; LATENT HEAT FLUX 0; 13; 41; 0; 0; 4; CODE_TABLE; PASQUELL-GIFFORD STAB 0; 13; 42; 0; -20; 6; DEGREES_KELVIN; PARCEL LIFTED INDEX (TO 500 HPA) 0; 13; 43; 0; -20; 6; DEGREES_KELVIN; BEST LIFTED INDEX (TO 500 HPA) 0; 13; 51; 0; 0; 4; CODE_TABLE; FREQ GRP, PRECIPITATION 0; 13; 52; 1; -1; 14; KG/; M**2 HIGHEST DAILY AMT OF PRECIPITATIO 0; 13; 192; 0; 0; 6; CODE_TABLE; PRECIPITABLE WATER QUALITY 0; 13; 193; 4; -1; 14; KGM/M**2; 24 HR PRECIPITATION (CITY) 0; 13; 194; 0; 0; 3; CODE_TABLE; INDIC INCLUSION/OMISSION OF PRECI 0; 14; 1; 3; -2048; 12; JOULES/METER**2; LONGWAVE RADIATION. INTEGRATED 24 0; 14; 2; 3; -2048; 12; JOULES/METER**2; LONGWAVE RAD. INTEGRATED SPEC.PER 0; 14; 3; 3; -2048; 12; JOULES/METER**2; SHORTWAVE RAD. INTEGRATED 24 HOUR 0; 14; 4; 3; -2048; 12; JOULES/METER**2; SHORTWAVE RAD. INTEGRATED SPEC PE 0; 14; 11; 3; -2048; 12; JOULES/METER**2; NET LONGWAVE RAD. INTEG. 24 HOURS 0; 14; 12; 3; -2048; 12; JOULES/METER**2; NET LONGWAVE RAD. INT SPEC PERIOD 0; 14; 13; 3; -2048; 12; JOULES/METER**2; NET SHORTWAVE RAD. INTEG 24 HOURS 0; 14; 14; 3; -2048; 12; JOULES/METER**2; NET SHORTWAVE RAD. INTEG SPEC PER 0; 14; 15; 4; -16384; 15; JOULES/METER**2; NET RAD INTEGRATED OVER 24 HOURS 0; 14; 16; 4; -16384; 15; JOULES/METER**2; NET RADIATION INTEG OVR PD SPECIF 0; 14; 17; 3; -2048; 12; WATTS/METER**2; INSTANTANEOUS LONG WAVE RADIATION 0; 14; 18; 3; -2048; 12; WATTS/METER**2; INSTANTANEOUS SHORT WAVE RADIATIO 0; 14; 19; 0; 0; 7; %; SURFACE ALBEDO 0; 14; 20; 4; 0; 15; JOULES/METER**2; GLOBAL SOLAR RAD INTEG OVER 24 H 0; 14; 21; 4; 0; 15; JOULES/METER**2; GLOBAL RADIATION INTEG OVER PD SP 0; 14; 22; 4; 0; 15; JOULES/METER**2; DIFFUSE SOLAR RAD INTEG OVER 24 0; 14; 23; 4; 0; 15; JOULES/METER**2; DIFFUSE SOLAR RAD INTEG OVER PD S 0; 14; 24; 4; 0; 15; JOULES/METER**2; DIRECT SOLAR RAD INTEG OVER 24 H 0; 14; 25; 4; 0; 15; JOULES/METER**2; DIRECT SOLAR RAD INTEG OVER PD SP 0; 14; 31; 0; 0; 11; MINUTES; TOTAL SUNSHINE 0; 14; 32; 0; 0; 10; HOURS; TOTAL SUNSHINE 0; 14; 33; 0; 0; 9; %; TOTAL SUNSHINE(PERCENTAGE) 0; 14; 41; 0; 0; 7; %; SHORT WAVE ALBEDO 0; 14; 42; 0; 0; 7; %; BI-DIRECTIONAL REFLECTANCE 0; 14; 200; 0; 0; 7; %; PERCENT OF POSSIBLE SUNSHINE 0; 15; 1; 0; 0; 10; DOBSON; UNITS OZONE 0; 15; 2; 2; 0; 10; NUMERIC; AIR-MASS (SLANT PATH AT 22KM) 0; 15; 11; 3; 14000; 12; LOG/M**2; LOG_E OF INTEGRATED ELECTRON DENS 0; 19; 1; 0; 0; 6; CODE_TABLE; TYPE OF SYNOPTIC FEATURE 0; 19; 2; 2; 0; 12; METERS; EFFECTIVE RADIUS OF FEATURE 0; 19; 3; 0; 0; 8; METERS/SECOND; WIND SPEED THRESHOLD 0; 19; 4; 2; 0; 12; METERS; EFF RAD OF FEAT W/RESP TO WINDS A 0; 19; 5; 0; 0; 9; DEG; TRUE DIRECTION OF MOTION OF FEATURE 0; 19; 6; 2; 0; 14; METERS/SECOND; SPEED OF MOTION OF FEATURE 0; 19; 7; 3; 0; 12; METERS; EFFECTIVE RADIUS OF FEATURE 0; 19; 8; 0; 0; 3; CODE_TABLE; VERTICAL EXTENT OF CIRCULATION 0; 19; 9; 3; 0; 12; METERS; EFF. RAD. W/RESPECT TO FFF ABV TH 0; 20; 1; 1; 0; 13; METERS; HORIZONTAL VISIBILITY 0; 20; 2; 1; 0; 7; METERS; VERTICAL VISIBILITY 0; 20; 3; 0; 0; 9; CODE_TABLE; PRESENT WEATHER 0; 20; 4; 0; 0; 5; CODE_TABLE; PAST WEATHER (1) 0; 20; 5; 0; 0; 5; CODE_TABLE; PAST WEATHER (2) 0; 20; 9; 1; -40; 11; METERS; CEILING 0; 20; 10; 0; 0; 7; %; CLOUD COVER (TOTAL) 0; 20; 11; 0; 0; 4; CODE_TABLE; CLOUD AMOUNT 0; 20; 12; 0; 0; 6; CODE_TABLE; CLOUD TYPE 0; 20; 13; 1; -40; 11; METERS; HEIGHT OF BASE OF CLOUD 0; 20; 14; 1; -40; 11; METERS; HEIGHT OF TOP OF CLOUD 0; 20; 15; 1; 0; 14; PASCALS; PRESSURE AT THE BASE OF CLOUD 0; 20; 16; 1; 0; 14; PASCALS; PRESSURE AT THE TOP OF CLOUD 0; 20; 17; 0; 0; 4; CODE_TABLE; CLOUD TOP DESCRIPTION 0; 20; 18; 1; 40; 11; METERS; LOWEST HGT OF CLD TOP 0; 20; 19; 1; 40; 11; METERS; HIGHEST HGT OF CLD TOP 0; 20; 20; 0; 0; 4; CODE_TABLE(02001LOW; CLOUD AMOUNT 0; 20; 21; 0; 0; 4; CODE_TABLE(02001MIDDLE; CLOUD AMOUNT 0; 20; 22; 0; 0; 4; CODE_TABLE(02001HIGH; CLOUD AMOUNT 0; 20; 23; 0; 0; 7; %; SATELLITE SENSED EFF CLOUD AMOUNT 0; 20; 31; 2; 0; 7; METERS; ICE DEPOSIT (THICKNESS) 0; 20; 32; 0; 0; 3; CODE_TABLE; RATE OF ICE ACCRETION 0; 20; 33; 0; 0; 4; FLAG_TABLE; CAUSE OF ICE ACCRETION 0; 20; 34; 0; 0; 5; CODE_TABLE; SEA ICE CONCENTRATION 0; 20; 35; 0; 0; 4; CODE_TABLE; AMOUNT AND TYPE OF ICE 0; 20; 36; 0; 0; 5; CODE_TABLE; ICE SITUATION 0; 20; 37; 0; 0; 5; CODE_TABLE; ICE DEVELOPMENT 0; 20; 38; 0; 0; 12; DEGREES_TRUE; BEARING OF ICE EDGE 0; 20; 39; 1; 0; 13; METERS; ICE DISTANCE 0; 20; 41; 0; 0; 4; CODE_TABLE; AIRFRAME ICING 0; 20; 51; 0; 0; 7; %; AMOUNT OF LOW CLOUDS 0; 20; 52; 0; 0; 7; %; AMOUNT OF MIDDLE CLOUDS 0; 20; 53; 0; 0; 7; %; AMOUNT OF HIGH CLOUDS 0; 20; 61; 0; 0; 12; METERS; RUNWAY VISUAL RANGE (RVR) 0; 20; 62; 0; 0; 5; CODE_TABLE; STATE OF GROUND(W /WO SNOW) 0; 20; 63; 0; 0; 10; CODE_TABLE; SPECIAL PHENOMENA 0; 20; 192; 0; 0; 7; CODE_TABLE; VISIBILITY TOWARDS SEA(WMO TABLE 0; 20; 200; 0; 0; 7; %; MEAN CLD COVER (OPAQUE) PAST 12 H 0; 21; 1; 0; -64; 7; DB; HORIZONTAL REFLECTIVITY 0; 21; 2; 0; -64; 7; DB; VERTICAL REFLECTIVITY 0; 21; 3; 1; -5; 7; DB; DIFFERENTIAL REFLECTIVITY 0; 21; 5; 0; -65; 6; DB; LINEAR DEPOLARIZATION RATIO 0; 21; 6; 0; -65; 6; DB; CIRCULAR DEPOLARIZATION RATIO 0; 21; 11; 0; -128; 8; METERS/SECOND; DOPPLER MEAN VELOCITY IN X DIRECT 0; 21; 12; 0; -128; 8; METERS/SECOND; DOPPLER MEAN VELOCITY IN Y DIRECT 0; 21; 13; 0; -128; 8; METERS/SECOND; DOPPLER MEAN VELOCITY IN Z DIRECT 0; 21; 14; 1; -4096; 13; METERS/SECOND; DOPPLER MEAN VELOCITY (RADIAL) 0; 21; 17; 1; 0; 8; METERS/SECOND; DOPPLER VELOCITY SPECTRAL WIDTH 0; 21; 21; 3; 0; 4; METERS; ECHO TOPS 0; 21; 30; 0; -32; 8; DB; SIGNAL TO NOISE RATIO 0; 21; 31; 0; 0; 7; KILOGRAMS/METER*VERT.; INTEGRATED LIQ. WATER CONTE 0; 21; 36; 7; 0; 12; METERS/SECOND; RADAR RAINFALL INTENSITY 0; 21; 41; 2; 0; 8; METERS; BRIGHT BAND HEIGHT 0; 21; 51; 0; -256; 8; DB; SIGNAL POWER ABOVE 1MW 0; 21; 62; 2; -5000; 13; DECIBELS; BACKSCATTER 0; 21; 63; 0; 0; 7; %; NOISE FIGURE 0; 21; 64; 0; 0; 10; NUMERIC; CLUTTER NOISE ESTIMATE 0; 21; 65; 0; -127; 8; NUMERIC; MISSING PACKET COUNTER 0; 21; 66; 0; 0; 12; FLAG_TABLE; WAVE SCATTEROMETER PRODUCT CONFID 0; 21; 67; 0; 0; 12; FLAG_TABLE; WIND SCATTEROMETER PRODUCT CONFID 0; 21; 68; 0; 0; 8; FLAG_TABLE; RADAR ALTIMETER PRODUCT CONFIDENC 0; 21; 69; 0; 0; 7; FLAG_TABLE; ATSR SEA SFC TEMP QUAL ANALYSIS T 0; 21; 70; 0; 0; 15; FLAG_TABLE; REPROCESSED WIND SCATTEROMETER PR 0; 21; 71; 0; 0; 16; NUMERIC; PEAKINESS 0; 21; 72; 0; 0; 4; FLAG_TABLE; SATELLITE ALTIMETER CALIBRATION S 0; 21; 73; 0; 0; 9; FLAG_TABLE; SATELLITE ALTIMETER INSTRUMENT MO 0; 21; 74; 2; -512; 10; DEGREES_KELVIN; MULTI/SINGLE VIEW DIFFERENCE 0; 21; 75; 0; 0; 8; NUMERIC; SPECTRAL INTENSITY 0; 21; 76; 0; 0; 3; CODE_TABLE; REPRESENTATION OF INTENSITIES 0; 21; 77; 3; 0; 14; METERS; ALTITUDE CORRECTION (IONOSPHERE) 0; 21; 78; 3; 0; 9; METERS; ALTITUDE CORRECTION (DRY TROPOSPH 0; 21; 79; 3; 2000; 10; METERS; ALTITUDE CORRECTION (WET TROPOSPH 0; 21; 80; 3; 0; 11; METERS; ALTITUDE CORRECTION (CALIB. CONST 0; 21; 81; 3; 0; 10; METERS; OPEN LOOP CORRECTION (HGT-TIME LO 0; 21; 82; 3; -3000; 14; DECIBELS; OPEN LOOP CORRECTION (AUTO GAIN C 0; 21; 83; 0; 0; 7; %; AMBIGUITY REMOVAL CONFIDENCE 0; 21; 84; 0; 0; 3; CODE_TABLE; ATSR SEA SFC TEMP QUALITY SUMMARY 0; 21; 85; 0; 0; 4; NUMERIC; ATSR SEA SFC TEMP ACROSS TRACK BA 0; 21; 192; 0; 0; 7; DB; SPECTRAL PEAK POWER 0TH MOMENT 0; 21; 193; 1; -4096; 13; METERS/SECOND; SPECTRAL PEAK POWER 1ST MOMENT 0; 21; 194; 1; 0; 8; METERS/SECOND; SPECTRAL PEAK POWER 2ND MOMENT 0; 22; 1; 0; 0; 9; DEGREES_TRUE; DIRECTION OF WAVES 0; 22; 2; 0; 0; 9; DEGREES_TRUE; DIRECTION OF WIND WAVES 0; 22; 3; 0; 0; 9; DEGREES_TRUE; DIRECTION OF SWELL WAVES 0; 22; 4; 0; 0; 9; DEGREES_TRUE; DIRECTION OF CURRENT WAVES 0; 22; 11; 0; 0; 6; SECONDS; PERIOD OF WAVES 0; 22; 12; 0; 0; 6; SECONDS; PERIOD OF WIND WAVES 0; 22; 13; 0; 0; 6; SECONDS; PERIOD OF SWELL WAVES 0; 22; 21; 1; 0; 10; METERS; HEIGHT OF WAVES 0; 22; 22; 1; 0; 10; METERS; HEIGHT OF WIND WAVES 0; 22; 23; 1; 0; 10; METERS; HEIGHT OF SWELL WAVES 0; 22; 25; 2; 0; 10; METERS; STANDARD DEVIATION WAVE 0; 22; 26; 2; 0; 10; METERS; STANDARD DEVIATION SIG WAVE HEIGH 0; 22; 31; 2; 0; 13; METERS/SECOND; SPEED OF CURRENT 0; 22; 37; 3; -10000; 15; METERS; TIDAL ELEV WITH RESPECT TO LAND D 0; 22; 38; 3; -10000; 15; METERS; TIDAL ELEV WITH RESPECT TO CHART 0; 22; 39; 3; -5000; 12; METERS; MET RESIDUAL TIDAL ELEV (SURGE OR 0; 22; 41; 1; 0; 12; DEGREES_KELVIN; SEA SFC TEM (15 DAY RUNNING MEAN) 0; 22; 42; 1; 0; 12; DEGREES_KELVIN; SEA TEMPERATURE 0; 22; 43; 2; 0; 15; DEGREES_KELVIN; SEA TEMPERATURE 0; 22; 44; 1; 0; 14; METERS/SECOND; SOUND VELOCITY 0; 22; 50; 2; 0; 8; K; STD DEV SEA-SURFACE TEMPERATURE 0; 22; 61; 0; 0; 4; CODE_TABLE; STATE OF SEA 0; 22; 62; 2; 0; 12; PARTS/1000; SALINITY 0; 22; 63; 0; 0; 14; METERS; TOTAL WATER DEPTH 0; 22; 105; 1; 0; 6; DEGREES_TRUE; DIRECTION OF WAVES 0; 22; 143; 2; 2650; 13; DEGREES_KELVIN; SEA TEMPERATURE 0; 22; 192; 0; 0; 4; CODE_TABLE; TIDE INDICATOR 0; 22; 193; 1; 0; 10; METERS; ABS VALUE DEPT OF TIDE FROM PRED 0; 22; 194; 3; -305; 12; METERS; DEPT OF TIDE FROM MEAN LOWER LOW 0; 23; 1; 0; 0; 3; CODE_TABLE; ACCIDENT EARLY NOTIFICATION ART.A 0; 23; 2; 0; 0; 5; CODE_TABLE; ACTIVITY OR FACILITY INVOLVED IN 0; 23; 3; 0; 0; 3; CODE_TABLE; TYPE OF RELEASE 0; 23; 4; 0; 0; 3; CODE_TABLE; COUNTERMEASURES TAKEN NR BORDER 0; 23; 5; 0; 0; 2; CODE_TABLE; CAUSE OF INCIDENT 0; 23; 6; 0; 0; 3; CODE_TABLE; INCIDENT SITUATION 0; 23; 7; 0; 0; 3; CODE_TABLE; CHARACTERISTIC OF RELEASE 0; 23; 8; 0; 0; 2; CODE_TABLE; STATE OF CURRENT RELEASE 0; 23; 9; 0; 0; 2; CODE_TABLE; STATE OF EXPECTED RELEASE 0; 23; 16; 0; 0; 2; CODE_TABLE; POSS. OF SIG CHEM.TOXIC HEALTH EF 0; 23; 17; 6; 0; 20; METER**3/SECOND; FLOW DISCHARGE OF MAJ. RECIPIENT 0; 23; 18; 0; 0; 3; CODE_TABLE; RELEASE BEHAVIOR OVER TIME 0; 23; 19; 0; -15000; 17; METERS; ACTUAL RELEASE HEIGHT 0; 23; 21; 0; -15000; 17; METERS; EFFECTIVE RELEASE HEIGHT 0; 23; 22; 0; 0; 24; METERS; DIST. OF REL PT OR SITE OF INCIDE 0; 23; 23; 1; 0; 12; METERS/SECOND; MAIN TRANSPORT SPEED IN ATMOSPHER 0; 23; 24; 2; 0; 13; METERS/SECOND; MAIN TRANSPORT SPEED IN WATER 0; 23; 25; 2; 0; 13; METERS/SECOND; MAIN TRANSPORT SPEED IN GROUND WA 0; 23; 27; 0; 0; 9; DEGREES_TRUE; MAIN TRANSPORT DIR IN ATMOSPHERE 0; 23; 28; 0; 0; 9; DEGREES_TRUE; MAIN TRANSPORT DIR IN WATER 0; 23; 29; 0; 0; 9; DEGREES_TRUE; MAIN TRANSPORT DIR IN GROUND WATE 0; 23; 31; 0; 0; 2; CODE_TABLE; POSS PLUME/PRECIP ENCOUNTER 0; 23; 32; 0; 0; 2; CODE_TABLE; PLUME ENCOUNTER DIR/SPD CHANGE 0; 24; 1; 1; 0; 28; BQ; EST. OF RADIOACTIVITY REL.TO SPEC 0; 24; 2; 1; 0; 28; BQ; EST MAXIMUM POTENTIAL RELEASE 0; 24; 3; 0; 0; 5; CODE_TABLE; COMPOSITION OF RELEASE 0; 24; 4; 0; 0; 16; CCITT_IA5; ELEMENT NAME 0; 24; 5; 0; 0; 9; NUMERIC; ISOTOPE MASS 0; 24; 11; 2; 0; 32; MSV; DOSE 0; 24; 12; 2; 0; 32; MSV; TRAJ DOSE(DEF LOC & EXP TIME OF A 0; 24; 13; 2; 0; 32; MSV; GAMMA DOSE IN AIR ALG MAIN TRAN P 0; 24; 21; 2; 0; 32; BQ/METER**3; AIR CONC.(NAMED ISOTOPE INC GROSS 0; 24; 22; 2; 0; 32; BQ/L; CONC IN PRECIP(OF NAMED ISOTOPE T 0; 25; 1; 1; 0; 6; METERS; RANGE GATE LENGTH 0; 25; 2; 0; 0; 4; NUMERIC; NR OF GATES AVERAGED 0; 25; 3; 0; 0; 8; NUMERIC; NR. OF INTEGRATED PULSES 0; 25; 4; 0; 0; 2; CODE_TABLE; ECHO PROCESSING 0; 25; 5; 0; 0; 2; CODE_TABLE; ECHO INTEGRATION 0; 25; 6; 0; 0; 3; CODE_TABLE; Z TO R CONVERSION 0; 25; 7; 0; 0; 12; NUMERIC; Z TO R CONVERSION FACTOR 0; 25; 8; 2; 0; 9; NUMERIC; Z TO R CONVERSION EXPONENT 0; 25; 9; 0; 0; 4; FLAG_TABLE; CALIBRATION METHOD 0; 25; 10; 0; 0; 4; CODE_TABLE; CLUTTER TREATMENT 0; 25; 11; 0; 0; 2; CODE_TABLE; GND. OCCULTATION CORR. (SCREENING 0; 25; 12; 0; 0; 2; CODE_TABLE; RANGE ATTENUATION CORRECTION 0; 25; 13; 0; 0; 2; FLAG_TABLE; BRIGHT BAND CORRECTION 0; 25; 15; 0; 0; 2; FLAG_TABLE; RADOME ATTENUATION CORRECTION 0; 25; 16; 5; 0; 6; DB/METER; CLEAR AIR ATTENUATION CORRECTION 0; 25; 17; 0; 0; 2; FLAG_TABLE; PRECIPITATION ATTENUATION CORRECT 0; 25; 18; 7; 0; 6; NUMERIC; A TO Z LAW FOR ATTENUATION FACTOR 0; 25; 19; 2; 0; 7; NUMERIC; A TO Z LAW FOR ATTENUATION EXPONE 0; 25; 20; 0; 0; 2; CODE_TABLE; MEAN SPEED ESTIMATION 0; 25; 21; 0; 0; 8; FLAG_TABLE; WIND COMPUTATION ENHANCEMENT 0; 25; 30; 0; 0; 2; CODE_TABLE; SST USAGE 0; 25; 31; 0; 0; 2; CODE_TABLE; 15 DAY SST AVAILABILITY 0; 25; 32; 0; 0; 2; CODE_TABLE; NOAA WIND PROFILER HIGH/LOW MODE 0; 25; 33; 0; 0; 2; CODE_TABLE; NOAA WIND PROFILER SUBMODE 0; 25; 34; 0; 0; 4; CODE_TABLE; NOAA WIND PROFILER Q/C TEST RESUL 0; 25; 35; 0; 0; 3; CODE_TABLE; FIRST GUESS ADJUSTMENT 0; 25; 36; 3; -5000; 14; NUMERIC; NSTAR AVERAGE VALUE 0; 25; 37; 0; 0; 2; CODE_TABLE; HIRS-8 SFC AIR TEMP 0; 25; 38; 0; 0; 3; CODE_TABLE; TOVS FILTER FLAGS 0; 25; 202; 0; 0; 4; FLAG_TABLE; TEMPERATURE CHANNEL SELECTION FLA 0; 25; 204; 0; 0; 8; FLAG_TABLE; MATCHUP QUALITY TEST FLAGS 0; 25; 205; 0; 0; 8; FLAG_TABLE; RETRIEVAL/DPI QUALITY TEST FLAGS 0; 25; 209; 3; 0; 12; DECIMAL_HOURS; DPI TIME DIFFERENCE (READ AS MINU 0; 25; 210; 3; 0; 19; METERS; DPI DISTANCE 0; 25; 211; 3; 0; 12; DECIMAL_HOURS; QUANTITATIVE RETRIEVAL TIME DIFFE 0; 25; 212; 3; 0; 19; METERS; QUANTITATIVE RETRIEVAL DISTANCE 0; 26; 1; 1; 0; 12; HOUR; PCPL TIME OF DAILY RDG IN UTC MAX 0; 26; 2; 1; 0; 12; HOUR; PCPL TIME OF DAILY RDG IN UTC MIN 0; 26; 31; 2; -107341824; 31; METERS; DIST FM EARTH CENTER IN DIR NORTH 0; 26; 32; 2; -107341824; 31; METERS; DIST FM EARTH CENTER IN DIR NORTH 0; 26; 41; 5; -107341824; 31; METERS/SECOND; VEL W/RESP EARTH CTR IN DIR NORTH 0; 27; 1; 5; -9000000; 25; DEGREES; LATITUDE (HIGH ACCURACY) 0; 27; 2; 2; -9000; 15; DEGREES; LATITUDE (COARSE ACCURACY) 0; 27; 3; 2; -9000; 15; DEGREES; ALTERNATE LATITUDE 0; 27; 20; 0; 0; 16; NUMERIC; SATELLITE LOCATION COUNTER 0; 27; 21; 0; 0; 16; NUMERIC; SATELLITE SUB-LOCATION DIMENSIONS 0; 27; 31; 2; -107341824; 31; METERS; DIST FM EARTH CENTER IN DIR 0 DEG 0; 27; 41; 5; -107341824; 31; METERS/SECOND; VEL W/RESP EARTH CTR N DIR 0 DEG 0; 28; 1; 5; -18000000; 26; DEGREES; LONGITUDE (HIGH ACCURACY) 0; 28; 2; 2; -18000; 16; DEGREES; LONGITUDE (COARSE ACCURACY) 0; 28; 3; 2; -18000; 16; DEGREES; ALTERNATE LONGITUDE 0; 28; 31; 2; -107341824; 31; METERS; DIST FMEARTH CENTER IN DIR 90 DEG 0; 28; 41; 5; -107341824; 31; METERS/SECOND; VEL W/RESP EARTH CTR IN DIR 90 DE 0; 29; 1; 0; 0; 3; CODE_TABLE; PROJECTION TYPE 0; 29; 2; 0; 0; 3; CODE_TABLE; COORDINATE GRID TYPE 0; 30; 1; 0; 0; 4; NUMERIC; PIXEL VALUE (4 BITS) 0; 30; 21; 0; 0; 12; NUMERIC; NUMBER OF PIXELS PER ROW 0; 30; 22; 0; 0; 12; NUMERIC; NUMBER OF PIXELS PER COLUMN 0; 30; 31; 0; 0; 4; CODE_TABLE; PICTURE TYPE 0; 30; 32; 0; 0; 16; FLAG_TABLE; COMBINED PICTURE 0; 31; 0; 0; 0; 1; FLAG_TABLE; DELAYED REPLICATION SWITCH 0; 31; 1; 0; 0; 8; NUMERIC; DELAYED DESCRIPTOR REPLICATION FA 0; 31; 2; 0; 0; 16; NUMERIC; EXT DELAYED DESCRIPTOR REPLICAT. 0; 31; 11; 0; 0; 8; NUMERIC; DELAYED DESC. & DATA REPITIT. FAC 0; 31; 12; 0; 0; 16; NUMERIC; EXT DELAYED DESC. & DATA REPITIT. 0; 31; 21; 0; 0; 6; CODE_TABLE; ASSOCIATED FIELD SIGNIFICANCE 0; 31; 31; 0; 0; 1; FLAG_TABLE; DATA PRESENT INDICATOR 0; 31; 192; 0; 0; 9; CODE_TABLE; NOAA WIND PROFILER HIGH/LOW MODE 0; 31; 193; 0; 0; 2; CODE_TABLE; NOAA WIND PROFILER SUBMODE 0; 31; 194; 0; 0; 4; CODE_TABLE; NOAA WIND PROFILER Q/C TEST RESUL 0; 33; 2; 0; 0; 2; CODE_TABLE; QUALITY INFORMATION 0; 33; 3; 0; 0; 3; CODE_TABLE; QUALITY INFORMATION 0; 33; 4; 0; 0; 7; %; % CONFIDENCE 0; 33; 216; 0; 0; 4; CODE_TABLE; SWQM SATELLITE WIND QUALITY MARK 0; 50; 1; 0; 0; 17; NUMERIC; REPORT SEQUENCE NUMBER 0; 50; 20; 0; 0; 4; CODE_TABLE; DATA QUALITY INDICATOR 0; 55; 6; 0; 0; 10; CODE_TABLE; NMC REPORT TYPE 0; 58; 1; 0; 0; 48; CCITT_IA5; BULLETIN HEADING 0; 58; 2; 0; 0; 80; CCITT_IA5; AIRCRAFT TYPE 0; 58; 3; 0; -400; 17; GPM; ICING BASE 0; 58; 4; 0; -400; 17; GPM; ICING TOP 0; 58; 5; 0; 0; 224; CCITT_IA5; COMPLETE BULLETIN HEADER 0; 58; 6; 0; 0; 64; CCITT_IA5; BULTIM BULLETIN HEADER DATE/TIME DATA 0; 58; 7; 0; 0; 24; CCITT_IA5; BBB WMO BBB INDICATOR 0; 60; 1; 0; 0; 7; %; PROB. OF LIQ PCPN GE .01 INCH PAS 0; 60; 2; 0; 0; 7; %; PROB. OF LIQ PCPN GE .01 INCH PAS 0; 60; 3; 0; 0; 7; %; PROB. OF LIQ PCPN GE .01 INCH PAS 0; 60; 4; 0; 0; 7; %; PROB. OF LIQ PCPN GE .10 INCH PAS 0; 60; 5; 0; 0; 7; %; PROB. OF LIQ PCPN GE .10 INCH PAS 0; 60; 6; 0; 0; 7; %; PROB. OF LIQ PCPN GE .10 INCH PAS 0; 60; 7; 0; 0; 7; %; PROB. OF LIQ PCPN GE .25 INCH PAS 0; 60; 8; 0; 0; 7; %; PROB. OF LIQ PCPN GE .25 INCH PAS 0; 60; 9; 0; 0; 7; %; PROB. OF LIQ PCPN GE .25 INCH PAS 0; 60; 10; 0; 0; 7; %; PROB. OF LIQ PCPN GE .50 INCH PAS 0; 60; 11; 0; 0; 7; %; PROB. OF LIQ PCPN GE .50 INCH PAS 0; 60; 12; 0; 0; 7; %; PROB. OF LIQ PCPN GE .50 INCH PAS 0; 60; 13; 0; 0; 7; %; PROB. OF LIQ PCP GE 1.00 INCH PAS 0; 60; 14; 0; 0; 7; %; PROB. OF LIQ PCP GE 1.00 INCH PAS 0; 60; 15; 0; 0; 7; %; PROB. OF LIQ PCP GE 1.00 INCH PAS 0; 60; 16; 0; 0; 7; %; PROB. OF LIQ PCP GE 2.00 INCH PAS 0; 60; 17; 0; 0; 7; %; PROB. OF LIQ PCP GE 2.00 INCH PAS 0; 60; 18; 0; 0; 7; %; REL FRQ GE .01 LQ EQV PCP PAST 12 0; 60; 19; 0; 0; 7; %; REL FRQ GE .01 LQ EQV PCP PAST 24 0; 60; 20; 0; 0; 7; %; COND PROB PCP TYPE FREEZING 0; 60; 21; 0; 0; 7; %; COND PROB PCP TYPE SNOW 0; 60; 22; 0; 0; 7; %; COND PROB PCP TYPE LIQUID 0; 60; 23; 0; 0; 7; %; COND PROB PCP TYPE DRIZZLE 0; 60; 24; 0; 0; 7; %; COND PROB PCP TYPE CONTINUOUS 0; 60; 25; 0; 0; 7; %; COND PROB PCP TYPE SHOWERS 0; 60; 26; 0; 0; 7; %; PROB SNOW AMT GE TRACE PAST 6HRS 0; 60; 27; 0; 0; 7; %; PROB SNOW AMT GE TRACE PAST 12HRS 0; 60; 28; 0; 0; 7; %; PROB SNOW AMT GE TRACE PAST 24HRS 0; 60; 29; 0; 0; 7; %; PROB SNOW AMT GE 2.0IN PAST 6HRS 0; 60; 30; 0; 0; 7; %; PROB SNOW AMT GE 2.0IN PAST 12HRS 0; 60; 31; 0; 0; 7; %; PROB SNOW AMT GE 2.0IN PAST 24HRS 0; 60; 32; 0; 0; 7; %; PROB SNOW AMT GE 4.0IN PAST 12HRS 0; 60; 33; 0; 0; 7; %; PROB SNOW AMT GE 4.0IN PAST 24HRS 0; 60; 34; 0; 0; 7; %; PROB SNOW AMT GE 6.0IN PAST 12HRS 0; 60; 35; 0; 0; 7; %; PROB SNOW AMT GE 6.0IN PAST 24HRS 0; 60; 36; 0; 0; 7; %; COND PROB SNOW PAST 12 HRS 0; 60; 37; 0; 0; 7; %; COND REL FRQ PROB SNOW PAST 12 HR 0; 60; 38; 0; 0; 7; %; PROB OPAQUE SKY COVER CLEAR 0; 60; 39; 0; 0; 7; %; PROB OPAQUE SKY COVER SCATTERED 0; 60; 40; 0; 0; 7; %; PROB OPAQUE SKY COVER BROKEN 0; 60; 41; 0; 0; 7; %; PROB OPAQUE SKY COVER OVERCAST 0; 60; 42; 0; 0; 7; %; PROB CIG HGT < 200 FT 0; 60; 43; 0; 0; 7; %; PROB CIG HGT 200-400 FT 0; 60; 44; 0; 0; 7; %; PROB CIG HGT 500-900 FT 0; 60; 45; 0; 0; 7; %; PROB CIG HGT 1000-3000 FT 0; 60; 46; 0; 0; 7; %; PROB CIG HGT 3100-6500 FT 0; 60; 47; 0; 0; 7; %; PROB CIG HGT 6600-12000 FT 0; 60; 48; 0; 0; 7; %; PROB CIG HGT GT 12000 FT 0; 60; 49; 0; 0; 7; %; PROB VSBY < 0/2 MILES 0; 60; 50; 0; 0; 7; %; PROB VSBY < 0/2 - 7/8 MILES 0; 60; 51; 0; 0; 7; %; PROB VSBY < 0 - 2 3/4 MILES 0; 60; 52; 0; 0; 7; %; PROB VSBY < 3 - 5 MILES 0; 60; 53; 0; 0; 7; %; PROB VSBY > 5 MILES 0; 60; 54; 0; 0; 7; %; PROB OBS TO VISION BLOWING PHENO 0; 60; 55; 0; 0; 7; %; PROB OBS TO VISION HAZE 0; 60; 56; 0; 0; 7; %; PROB OBS TO VISION FOG 0; 60; 57; 0; 0; 7; %; PROB OBS TO VISION NONE 0; 60; 58; 0; 0; 7; %; PROB TSTM PAST 6 HRS 0; 60; 59; 0; 0; 7; %; PROB TSTM PAST 12HRS 0; 60; 60; 0; 0; 7; %; PROB TSTM PAST 24HRS 0; 60; 61; 0; 0; 7; %; PROB SVR WX PAST 6 HRS 0; 60; 62; 0; 0; 7; %; PROB SVR WX PAST 12HRS 0; 60; 63; 0; 0; 7; %; PROB SVR WX PAST 24HRS 0; 60; 64; 0; 0; 7; %; CLIM AVG CLD COVER (OPAQUE) 0; 60; 65; 1; 0; 12; METERS/SECOND; CLIMATIC WIND SPEED 0; 60; 66; 1; 0; 12; DEGREES_KELVIN; CLIMATIC(NORMAL) DAY MAX TEMP 0; 60; 67; 1; 0; 12; DEGREES_KELVIN; CLIMATIC(NORMAL) NIGHT MIN TEMP 0; 60; 90; 0; 0; 4; CODE_TABLE; QUANT PCP FCST (CATEGORIES) 0; 60; 91; 0; 0; 3; CODE_TABLE; COND PCP TYPE FCST (CATS) 0; 60; 92; 0; 0; 3; CODE_TABLE; COND PCP CHARACTER FCST (CATS) 0; 60; 93; 0; 0; 3; CODE_TABLE; QUANT SNOW AMT FCST (CATS) 0; 60; 94; 0; 0; 4; CODE_TABLE; CIG HEIGHT FCST (CATS) 0; 60; 95; 0; 0; 3; CODE_TABLE; VISIBILITY FCST (CATS) 0; 60; 96; 0; 0; 3; CODE_TABLE; OBSTRUCT TO VISION FCST (CATS) 0; 60; 97; 0; 0; 2; CODE_TABLE; THUNDERSTORM FCST (CATS) 0; 60; 98; 0; 0; 2; CODE_TABLE; SEVERE WEATHER FCST (CATS) 0; 63; 0; 0; 0; 16; BYTES; BIT COUNT 0; 63; 255; 0; 0; 1; NUMERIC; FILL BIT From cmt.meteo at ARPA.VENETO.IT Wed Apr 15 09:37:46 2009 From: cmt.meteo at ARPA.VENETO.IT (Ufficio Meteo) Date: Wed, 15 Apr 2009 15:37:46 +0200 Subject: problem with stnmap? Message-ID: You can find this files attached: 1) "config.txt", with the initial standard output from grads and the output from 'q config' (my OS is Linux OpenSuSE) 2) "est", i.e. the c-shell script which should produce the file "staz.map" 3) "log", i.e. the standard output from "est" 4) "RI_200904142100.txt", i.e. the file with raw station data (fixed time) 5) "staz.ctl", i.e. the control file for GrADS 6) "staz.f", i.e. a F77 program writing an intermediate ASCII file with only one parameter extracted from "RI_200904142100.txt" 7) "staz.txt", i.e. the output from "stazf" (compiled binary executable file from staz.f) 8) "staz.c", i.e. a C program starting from "staz.txt" and writing the binary file to be read by GrADS 9) "staz.dat". i.e. the output from "stazc" (compiled binary executable file from staz.c) Can someone tell me why all that does not produce the map file "staz.map", which should come out from stnmap? How could I solve my problem? Thank you all! Antonino Bonan Meteorologist at ARPAV-Centro Meteorologico di Teolo (PD) Italy I'm protected by SpamBrave http://www.spambrave.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090415/4a322d7a/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: staz.c Type: application/octet-stream Size: 1564 bytes Desc: not available Url : http://gradsusr.org/pipermail/gradsusr/attachments/20090415/4a322d7a/attachment.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: staz.ctl Type: application/octet-stream Size: 172 bytes Desc: not available Url : http://gradsusr.org/pipermail/gradsusr/attachments/20090415/4a322d7a/attachment-0001.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: staz.dat Type: application/octet-stream Size: 1788 bytes Desc: not available Url : http://gradsusr.org/pipermail/gradsusr/attachments/20090415/4a322d7a/attachment-0002.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: staz.f Type: application/octet-stream Size: 1651 bytes Desc: not available Url : http://gradsusr.org/pipermail/gradsusr/attachments/20090415/4a322d7a/attachment-0003.obj -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: config.txt Url: http://gradsusr.org/pipermail/gradsusr/attachments/20090415/4a322d7a/attachment.txt -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: RI_200904142100.txt Url: http://gradsusr.org/pipermail/gradsusr/attachments/20090415/4a322d7a/attachment-0001.txt -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: staz.txt Url: http://gradsusr.org/pipermail/gradsusr/attachments/20090415/4a322d7a/attachment-0002.txt -------------- next part -------------- A non-text attachment was scrubbed... Name: est Type: application/octet-stream Size: 1255 bytes Desc: not available Url : http://gradsusr.org/pipermail/gradsusr/attachments/20090415/4a322d7a/attachment-0004.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: log Type: application/octet-stream Size: 154 bytes Desc: not available Url : http://gradsusr.org/pipermail/gradsusr/attachments/20090415/4a322d7a/attachment-0005.obj From davide.sacchetti at ARPAL.ORG Wed Apr 15 10:17:59 2009 From: davide.sacchetti at ARPAL.ORG (Davide Sacchetti) Date: Wed, 15 Apr 2009 16:17:59 +0200 Subject: problem with stnmap? In-Reply-To: <34B85DF620F34586B086DCFAF118F715@arpa.veneto.it> Message-ID: the command is: stnmap -i staz.ctl with grads 1.9 I am using it works: you selected about 55 stations located in the indian sea bye bye Davide p.s.: your "reply-to" should be set to GRADSUSR at LIST.CINECA.IT and not to your e-mail On Wed, 2009-04-15 at 15:37 +0200, Ufficio Meteo wrote: > You can find this files attached: > 1) "config.txt", with the initial standard output from grads and the > output from 'q config' (my OS is Linux OpenSuSE) > 2) "est", i.e. the c-shell script which should produce the file > "staz.map" > 3) "log", i.e. the standard output from "est" > 4) "RI_200904142100.txt", i.e. the file with raw station data (fixed > time) > 5) "staz.ctl", i.e. the control file for GrADS > 6) "staz.f", i.e. a F77 program writing an intermediate ASCII file > with only one parameter extracted from "RI_200904142100.txt" > 7) "staz.txt", i.e. the output from "stazf" (compiled binary > executable file from staz.f) > 8) "staz.c", i.e. a C program starting from "staz.txt" and writing the > binary file to be read by GrADS > 9) "staz.dat". i.e. the output from "stazc" (compiled binary > executable file from staz.c) > Can someone tell me why all that does not produce the map file > "staz.map", which should come out from stnmap? > How could I solve my problem? > > Thank you all! > > Antonino Bonan > Meteorologist at > ARPAV-Centro Meteorologico di Teolo (PD) > Italy > I'm protected by SpamBrave > -- Sacchetti Davide Centro Funzionale Meteo Idrologico di Protezione Civile della Regione Liguria ARPAL Unit? Tecnica Complessa di livello Regionale V.le Brigare Partigiane 2 16121 Genova (I) tel: +39 010 6437535 fax: +39 010 6437520 mail: davide.sacchetti at arpal.org web: www.meteoliguria.it From vinicius.beatrix at GMAIL.COM Wed Apr 15 12:32:31 2009 From: vinicius.beatrix at GMAIL.COM (Vinicius Souza) Date: Wed, 15 Apr 2009 13:32:31 -0300 Subject: split dates of grib Message-ID: Hello everyone, There is a way to split dates of a grib? For example: I have one Grib with 3 mouths of temperature variable , but I wanna to split this 3 mouths one by one in 6 and 6 hours, how I do that? Thanks -- Vinicius From blossom002 at STUDENT.WCSU.EDU Wed Apr 15 14:00:42 2009 From: blossom002 at STUDENT.WCSU.EDU (Christopher Blossom) Date: Wed, 15 Apr 2009 14:00:42 -0400 Subject: Error Message when I put down d weasd3hr when reading from narr-b files In-Reply-To: Message-ID: An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090415/f7626f07/attachment.html From heiner at MISU.SU.SE Wed Apr 15 13:57:23 2009 From: heiner at MISU.SU.SE (=?ISO-8859-1?Q?Heiner_K=F6rnich?=) Date: Wed, 15 Apr 2009 19:57:23 +0200 Subject: split dates of grib In-Reply-To: Message-ID: Hi Vinicius, I don't understand exactly what you want to do, but I am sure that you can do it with the climate data operators. Just google "CDO climate data operators" and you will find them. regards, Heiner On Wed, Apr 15, 2009 at 6:32 PM, Vinicius Souza wrote: > Hello everyone, > > There is a way to split dates of a grib? For example: > I have one Grib with 3 mouths of temperature variable , but I wanna to > split this 3 mouths one by one in 6 and 6 hours, how I do that? > > Thanks > > -- > Vinicius > -- Heiner K?rnich Dept. of Meteorology Tel: +46 8 164333 Stockholms University, SE-106 91 Stockholm, Sweden Email: heiner at misu.su.se www.misu.su.se/~heiner/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090415/66648d63/attachment.html From blossom002 at STUDENT.WCSU.EDU Wed Apr 15 15:04:18 2009 From: blossom002 at STUDENT.WCSU.EDU (Christopher Blossom) Date: Wed, 15 Apr 2009 15:04:18 -0400 Subject: CD for Viewing Storm Tracks recommended by Scott Stephens In-Reply-To: <77fcd6b20904130926v64945b2x1dbe38d192418ae0@mail.gmail.com> Message-ID: An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090415/e32fdf7f/attachment.html From Rick.Danielson at PHYS.OCEAN.DAL.CA Wed Apr 15 15:40:28 2009 From: Rick.Danielson at PHYS.OCEAN.DAL.CA (Rick Danielson) Date: Wed, 15 Apr 2009 16:40:28 -0300 Subject: CD for Viewing Storm Tracks recommended by Scott Stephens In-Reply-To: Message-ID: Hi Christopher, The GTECCA CD comes with its own visualization program and NCDC is reluctant to update the track files because this is an old set of tracks on a CD that is supposed to run on DOS. There are also questions about the validity of a number of cyclone intensification rates among the events documented there. (On the other hand, conventional cyclone tracks that one finds on the web are often based on gridded analyses that don't always capture the position and intensity of lowest pressure either.) In any case, tt suffices to say that the binary files you want to examine aren't meant to be used by Grads, but the CD does display its own files. Regards, Rick Danielson > Dear Arlindo and the Grads User Group, > > In order to clarify, the CD I have is "Global Tropical/Extratropical Cyclone Climatic Atlas", which can be used to > find the storm tracks for the northern hemosphere low-pressure systems. Will I need new software in order to view the > files? The extensions in the monthly folders are .nar, .sqr, .hr and .sum. There is also a .PIC file for tracks. > Another extension is .bgi. Finally, there is a file called INSTALL. My e-mail address is blossom002 at wcsu.edu. Your > prompt response would be greatly appreciated. > > Thanks in advance, > > Christopher Blossom "I'd put my money on the sun During 1956-1965, "the world was and solar energy. What a consuming 4 billion barrels of oil per source of power! I hope we year and the average discovery was don't have to wait until oil around 30 billion. Today we consume and coal run out before we 30 billion barrels per year and the tackle that." - Edison to Ford discovery rate is now approaching 4 and Firestone in 1931 (from billion barrels of crude oil per year." "Uncommon Friends" by J.Newton) - Kjell Aleklett of Uppsala University From blossom002 at STUDENT.WCSU.EDU Wed Apr 15 15:45:46 2009 From: blossom002 at STUDENT.WCSU.EDU (Christopher Blossom) Date: Wed, 15 Apr 2009 15:45:46 -0400 Subject: CD for Viewing Storm Tracks recommended by Scott Stephens In-Reply-To: Message-ID: An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090415/9248f629/attachment.html From blossom002 at STUDENT.WCSU.EDU Wed Apr 15 16:11:22 2009 From: blossom002 at STUDENT.WCSU.EDU (Christopher Blossom) Date: Wed, 15 Apr 2009 16:11:22 -0400 Subject: Colors Coming Out Wrong AND Script Question Message-ID: An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090415/9813e476/attachment.html From msponsler at COMCAST.NET Wed Apr 15 17:55:31 2009 From: msponsler at COMCAST.NET (Mark Sponsler) Date: Wed, 15 Apr 2009 23:55:31 +0200 Subject: MFhilo Installation in PCGRADS 1.9 rc1 Message-ID: Hello - I need some help installing libmf.gex (Mike Fiorino`s Collection of GrADS Extensions). I'm using grads-1.9.0-rc1 for Win (the zip version not the super pac) I go to the Wiki page: http://opengrads.org/doc/udxt/libmf/ Which directs me to the download page: http://sourceforge.net/project/showfiles.php? group_id=161773&package_id=256757&release_id=589460 There are a variety of 6 OS's to choose from - none of which is Windows based. So I select the 'Platform Independent' option and download the gzip tar file. Upon inspecting it's contents there doesn't appear to be any .dll names like 'libmf.gex' or mfhilo.... making me wonder whether I'm in the right place. So I inspected my existing GrADS installation: C:\Program Files\PCGrADS19\win32\gex I notice the 'gex' directory which has 4 subdirs (c, dods, hdf, nc, nc4) under it all of which appear to have some user defined functions already in them (like fish, gxyat, libbjt, re, shape, etc....). The installation instructions don't seem to jive with my installation (it appears to target only unix users). Any help would be greatly apreciated. I know, I could just download Grads version 2.0 and be done with it, but that would rob me of the experience of actually installing the extension. I like to learn. Thanks, Mark From amjadozi at GMAIL.COM Thu Apr 16 00:13:14 2009 From: amjadozi at GMAIL.COM (Muhammad Amjad) Date: Thu, 16 Apr 2009 04:13:14 +0000 Subject: gribmap problem In-Reply-To: Message-ID: Dear Jhih-Shyang, Try with the following command gribmap -0 -i grib_file.ctl Cheers, Amjad. On 4/14/09, Shih, Jhih-Shyang wrote: > > Dear GRADS users: > > I am a new user of GRADS. I installed grads-1.8sl11-win32e.exe. I was able > to create a ctl file from attached grb file. However I was unable to create > idx file using 'gribmap'. > > I entered the following command under dos command line > > >gribmap -i grib_file.ctl > > But no idx file was created. Nothing happened and there was no error > message neither. > > I have attached the grb and ctl file. Does anyone have any suggestions? > > Thanks for your kind help! > > Jhih-Shyang > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090416/6e88321f/attachment.html From stergios.misios at ZMAW.DE Thu Apr 16 07:09:28 2009 From: stergios.misios at ZMAW.DE (Stergios Misios) Date: Thu, 16 Apr 2009 13:09:28 +0200 Subject: split dates of grib In-Reply-To: <99d0dc5f0904151057l6ffe0b7ax3f3501b850f31bbd@mail.gmail.com> Message-ID: I am using climate data operators Assuming that your file consists of 6-hr time steps you can use, cdo splitsel,1 your file will be spitted for every time step Stergios From blossom002 at STUDENT.WCSU.EDU Thu Apr 16 08:01:27 2009 From: blossom002 at STUDENT.WCSU.EDU (Christopher Blossom) Date: Thu, 16 Apr 2009 08:01:27 -0400 Subject: Additional Question about CD. Message-ID: An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090416/d5b6c3ac/attachment.html From maldmm5 at GMAIL.COM Thu Apr 16 09:12:06 2009 From: maldmm5 at GMAIL.COM (Mald MM5) Date: Fri, 17 Apr 2009 01:12:06 +1200 Subject: Possible to draw a vertical or horizontal line in GrADS ??? Message-ID: Hi the community, I would like to know if its possible to draw a horizontal or a vertical line in grads by specifying a start and an end point. Any codes or scripts would be helpful and appreciated. I am using the latest version on an openSuse 11.0. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090417/a7fc06dc/attachment.html From vinicius.beatrix at GMAIL.COM Thu Apr 16 09:38:24 2009 From: vinicius.beatrix at GMAIL.COM (Vinicius Souza) Date: Thu, 16 Apr 2009 10:38:24 -0300 Subject: split dates of grib In-Reply-To: <49E711E8.7050303@zmaw.de> Message-ID: well, I'm use data of surface, I'm not shure if I understand this comand "cdo splitsel,1 " I make a download data of surface pressure in 6 in 6 hours steps ( I guess) but the file came all together is a one mouth date, and the file start show in grads first the 00:00 hours of every day of the mouth , then just after that it start the 6:00 hours of every day, into the end that will be 18:00, you understand? they came all together, and I want change for show in grads start one day in 00:00 then show in this same day after the 00:00, the 06:00 hours then 12:00 ... , one by one day, you know? this cdo splitsel works for that? theres is a way to do that? thanks 2009/4/16, Stergios Misios : > I am using climate data operators > > Assuming that your file consists of 6-hr time steps you can use, > cdo splitsel,1 > > your file will be spitted for every time step > > Stergios > -- Vinicius From senya at ATMOS.UMD.EDU Thu Apr 16 09:45:29 2009 From: senya at ATMOS.UMD.EDU (Semyon Grodsky) Date: Thu, 16 Apr 2009 09:45:29 -0400 Subject: Possible to draw a vertical or horizontal line in GrADS ??? In-Reply-To: <54c90bba0904160612k26a21121sdd5f5726149380d@mail.gmail.com> Message-ID: Dear users, please check the GRADS documentation first before sending questions to the forum. This documentation is available at http://www.iges.org/grads/gadoc/users.html In particular, drawing options are explained at http://www.iges.org/grads/gadoc/graphelem.html Thanks, --Senya On Fri, 17 Apr 2009, Mald MM5 wrote: > Hi the community, > > I would like to know if its possible to draw a horizontal or a vertical line > in grads by specifying a start and an end point. Any codes or scripts would > be helpful and appreciated. I am using the latest version on an openSuse > 11.0. > > Thanks > ----------------------------------------------------------- Semyon Grodsky Computer and Space Science Building (Bldg. #224), Room 2409 Department of Atmospheric and Oceanic Science University of Maryland College Park, MD 20742 Phone: 301-405-5330 Fax: 301-314-9482 E-mail: senya at atmos.umd.edu From maldmm5 at GMAIL.COM Thu Apr 16 09:57:55 2009 From: maldmm5 at GMAIL.COM (Mald MM5) Date: Fri, 17 Apr 2009 01:57:55 +1200 Subject: Possible to draw a vertical or horizontal line in GrADS ??? In-Reply-To: Message-ID: Hi there, Thanks for the link.. I found how to do that after I submit the question...was having problem in giving the XY coordinates...now the problem is solved and found that XY has to be screen coordinates.. Thanks On Fri, Apr 17, 2009 at 1:45 AM, Semyon Grodsky wrote: > Dear users, > please check the GRADS documentation first before sending questions to > the forum. This documentation is available at > http://www.iges.org/grads/gadoc/users.html > > In particular, drawing options are explained at > http://www.iges.org/grads/gadoc/graphelem.html > Thanks, > --Senya > > > On Fri, 17 Apr 2009, Mald MM5 wrote: > > Hi the community, >> >> I would like to know if its possible to draw a horizontal or a vertical >> line >> in grads by specifying a start and an end point. Any codes or scripts >> would >> be helpful and appreciated. I am using the latest version on an openSuse >> 11.0. >> >> Thanks >> >> > ----------------------------------------------------------- > Semyon Grodsky > Computer and Space Science Building (Bldg. #224), Room 2409 > Department of Atmospheric and Oceanic Science > University of Maryland > College Park, MD 20742 > > Phone: 301-405-5330 > Fax: 301-314-9482 > E-mail: senya at atmos.umd.edu > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090417/6360ed64/attachment.html From Shih at RFF.ORG Thu Apr 16 10:49:51 2009 From: Shih at RFF.ORG (Shih, Jhih-Shyang) Date: Thu, 16 Apr 2009 10:49:51 -0400 Subject: why I got 9.999e+20 In-Reply-To: <6142b78e0904152113i5d9f43cey8ada7e4c7d539746@mail.gmail.com> Message-ID: Dear Experts: I download NARR grb files and extract following subregion: Lon: -91.5 (W) -78.0 (E) Lat: 42.5 (North) 32 (South) Variables (tmpprs, hgtprs, ...) within part of the subregion (within the US) have value of 9.999e+20, which means undefined I believe. My question is why it is undefined? What is the cause? Thanks very much. Jhih-Shyang -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090416/1e164d4a/attachment.html From Wesley.Ebisuzaki at NOAA.GOV Thu Apr 16 11:38:38 2009 From: Wesley.Ebisuzaki at NOAA.GOV (Wesley Ebisuzaki) Date: Thu, 16 Apr 2009 11:38:38 -0400 Subject: why I got 9.999e+20 In-Reply-To: Message-ID: Jhih, I made a regional subset with your parameters and found no missing data. Perhaps you entered the parameters incorrectly. The wgrib description of the grid should look like, rec 1:0:date 1979110800 HGT kpds5=7 kpds6=1 kpds7=0 levels=(0,0) grid=255 sfc anl: HGT=Geopotential height [gpm] timerange 0 P1 0 P2 0 TimeU 1 nx 47 ny 47 GDS grid 3 num_in_ave 0 missing 0 center 7 subcenter 15 process 140 Table 131 scan: WE:SN winds(grid) Lambert Conf: Lat1 32.294000 Lon1 -93.877000 Lov -107.000000 Latin1 50.000000 Latin2 50.000000 LatSP 0.000000 LonSP 0.000000 North Pole (47 x 47) Dx 32.463000 Dy 32.463000 scan 64 mode 136 min/max data 0 1063.25 num bits 14 BDS_Ref 0 DecScale 0 BinScale -3 To plot the field using grads, I modified the control file (xdef and ydef lines) so it would show the domain in question. xdef 28 linear -91.5 0.5 <-- new lines ydef 22 linear 32 0.5 When I used the new control file, 3 of the corners were undefined. Nothing wrong because the command to subset the grid looked for all the grid points <> the box in question. Make the box bigger if you want to include the corners. Wesley Ebisuzaki Shih, Jhih-Shyang wrote: > > Dear Experts: > > I download NARR grb files and extract following subregion: > > Lon: -91.5 (W) -78.0 (E) > > Lat: 42.5 (North) 32 (South) > > Variables (tmpprs, hgtprs, ?) within part of the subregion (within the > US) have value of 9.999e+20, which means undefined I believe. My > question is why it is undefined? What is the cause? > > Thanks very much. > > Jhih-Shyang > From msponsler at COMCAST.NET Thu Apr 16 13:46:13 2009 From: msponsler at COMCAST.NET (Mark Sponsler) Date: Thu, 16 Apr 2009 19:46:13 +0200 Subject: mfhilo Message-ID: Hello, I'm trying to use mfhilo and am having problems. Likely a deficiency on my part. Any help or nudge in the right direction would be appreciated. I've downloaded and installed GrADS 2.0.a5.oga.4 on Wind XP in an attempt to get access to mfhilo. Normal scripts work fine using it. I've consulted the wiki here: http://opengrads.org/doc/udxt/libmf/ and constructed a crude attempt to access the function: 'open file.ctl' 'set lat' 'set long' 'set gxout contour' 'd prmslmsl/100' no problems so far, then... 'result = mfhilo (prmslmsl/100) CL,h|l' minmax = sublin(result,1) say 'minmax = 'minmax Receive error Sytax Error: Invalid operand 'mfhilo' not a variable or function name Does anyone have a example or some guidance on how to use this function? From stergios.misios at ZMAW.DE Thu Apr 16 15:09:09 2009 From: stergios.misios at ZMAW.DE (Stergios Misios) Date: Thu, 16 Apr 2009 21:09:09 +0200 Subject: split dates of grib In-Reply-To: Message-ID: hi, the cdo works perfectly with every time step. lets assume you have 1 moth surface presure, with 30 days for the sake of simplicity with 4 time step each. In total 30*4=120 steps Then with, cdo splitsel,1 the output you get is 120 files with names base_file000 base_file001 .... base_file120. The you can use grads for each file individually... Why you don;t use the time inside the grads script using something like, set t 1 set t 2 .... set t 120 I think is simpler. Stergios From vinicius.beatrix at GMAIL.COM Thu Apr 16 15:18:11 2009 From: vinicius.beatrix at GMAIL.COM (Vinicius Souza) Date: Thu, 16 Apr 2009 16:18:11 -0300 Subject: split dates of grib In-Reply-To: <49E78255.7050406@zmaw.de> Message-ID: I think I understand now. If I do that (cdo splitsel...) I get the output split , then if I use in grads it gonna display starting from 00:00 of one day then 6:00 hours of the same day into the end, right? Thanks a lot for the help, and patience. 2009/4/16, Stergios Misios : > hi, > the cdo works perfectly with every time step. > lets assume you have 1 moth surface presure, with 30 days for the sake > of simplicity with 4 time step each. In total 30*4=120 steps > Then with, > cdo splitsel,1 > the output you get is 120 files with names > base_file000 > base_file001 > .... > base_file120. > The you can use grads for each file individually... > Why you don;t use the time inside the grads script using something like, > set t 1 > set t 2 > .... > set t 120 > I think is simpler. > > Stergios > -- Vinicius From blossom002 at STUDENT.WCSU.EDU Thu Apr 16 17:09:48 2009 From: blossom002 at STUDENT.WCSU.EDU (Christopher Blossom) Date: Thu, 16 Apr 2009 17:09:48 -0400 Subject: No subject Message-ID: An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090416/2159af97/attachment.html From blossom002 at STUDENT.WCSU.EDU Thu Apr 16 17:15:43 2009 From: blossom002 at STUDENT.WCSU.EDU (Christopher Blossom) Date: Thu, 16 Apr 2009 17:15:43 -0400 Subject: No subject Message-ID: An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090416/c8cfb142/attachment.html From blossom002 at STUDENT.WCSU.EDU Thu Apr 16 17:21:54 2009 From: blossom002 at STUDENT.WCSU.EDU (Christopher Blossom) Date: Thu, 16 Apr 2009 17:21:54 -0400 Subject: Command rc=write Message-ID: An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090416/8dc17631/attachment.html From blossom002 at STUDENT.WCSU.EDU Thu Apr 16 17:25:33 2009 From: blossom002 at STUDENT.WCSU.EDU (Christopher Blossom) Date: Thu, 16 Apr 2009 17:25:33 -0400 Subject: No subject Message-ID: An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090416/e4f1c917/attachment.html From blossom002 at STUDENT.WCSU.EDU Thu Apr 16 17:31:27 2009 From: blossom002 at STUDENT.WCSU.EDU (Christopher Blossom) Date: Thu, 16 Apr 2009 17:31:27 -0400 Subject: No subject Message-ID: An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090416/002ddf37/attachment.html From blossom002 at STUDENT.WCSU.EDU Thu Apr 16 19:32:41 2009 From: blossom002 at STUDENT.WCSU.EDU (Christopher Blossom) Date: Thu, 16 Apr 2009 19:32:41 -0400 Subject: What should I open the .dat files with? Message-ID: An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090416/2d9898ea/attachment.html From Diane.Stokes at NOAA.GOV Fri Apr 17 07:14:21 2009 From: Diane.Stokes at NOAA.GOV (Diane Stokes) Date: Fri, 17 Apr 2009 07:14:21 -0400 Subject: mfhilo In-Reply-To: <20090416174716.DE8B42113C@mx2.cineca.it> Message-ID: Hi, Mark. I don't have a version of grads with extensions, so I can't confirm this myself. However, the doc indicates that mfhilo is a grads command, not a function. So, in your script, try simply: 'mfhilo (prmslmsl/100) CL,h|l' Diane Mark Sponsler wrote: > Hello, > I'm trying to use mfhilo and am having problems. Likely a deficiency on > my part. Any help or nudge in the right direction would be appreciated. > > I've downloaded and installed GrADS 2.0.a5.oga.4 on Wind XP in an attempt > to get access to mfhilo. Normal scripts work fine using it. > > I've consulted the wiki here: http://opengrads.org/doc/udxt/libmf/ > and constructed a crude attempt to access the function: > > 'open file.ctl' > 'set lat' > 'set long' > 'set gxout contour' > 'd prmslmsl/100' > > no problems so far, then... > > 'result = mfhilo (prmslmsl/100) CL,h|l' > > minmax = sublin(result,1) > > say 'minmax = 'minmax > > Receive error > Sytax Error: Invalid operand > 'mfhilo' not a variable or function name > > Does anyone have a example or some guidance on how to use this function? From blossom002 at STUDENT.WCSU.EDU Fri Apr 17 10:23:34 2009 From: blossom002 at STUDENT.WCSU.EDU (Christopher Blossom) Date: Fri, 17 Apr 2009 10:23:34 -0400 Subject: Question about "your authentication ticket has expired" message I keep getting Message-ID: An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090417/580014cb/attachment.html From Michael.Fiorino at NOAA.GOV Fri Apr 17 10:31:58 2009 From: Michael.Fiorino at NOAA.GOV (Michael Fiorino) Date: Fri, 17 Apr 2009 08:31:58 -0600 Subject: mfhilo In-Reply-To: <49E8648D.4080601@noaa.gov> Message-ID: hi diane and mark, i'm working mfhilo as we speak, the current one in opengrads2.0 is definitely broken... will put a beta version out next week... /r mike Diane Stokes wrote: > Hi, Mark. > > I don't have a version of grads with extensions, so I can't confirm this > myself. However, the doc indicates that mfhilo is a grads command, not > a function. So, in your script, try simply: > 'mfhilo (prmslmsl/100) CL,h|l' > > Diane > > > Mark Sponsler wrote: >> Hello, >> I'm trying to use mfhilo and am having problems. Likely a deficiency on >> my part. Any help or nudge in the right direction would be appreciated. >> >> I've downloaded and installed GrADS 2.0.a5.oga.4 on Wind XP in an >> attempt >> to get access to mfhilo. Normal scripts work fine using it. >> >> I've consulted the wiki here: http://opengrads.org/doc/udxt/libmf/ >> and constructed a crude attempt to access the function: >> >> 'open file.ctl' >> 'set lat' >> 'set long' >> 'set gxout contour' >> 'd prmslmsl/100' >> >> no problems so far, then... >> >> 'result = mfhilo (prmslmsl/100) CL,h|l' >> >> minmax = sublin(result,1) >> >> say 'minmax = 'minmax >> >> Receive error >> Sytax Error: Invalid operand >> 'mfhilo' not a variable or function name >> >> Does anyone have a example or some guidance on how to use this function? From blossom002 at STUDENT.WCSU.EDU Fri Apr 17 10:49:33 2009 From: blossom002 at STUDENT.WCSU.EDU (Christopher Blossom) Date: Fri, 17 Apr 2009 10:49:33 -0400 Subject: Where do I use the script language (where do I create scripts?)? Message-ID: An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090417/12e2aeed/attachment.html From Wesley.Ebisuzaki at NOAA.GOV Fri Apr 17 13:33:27 2009 From: Wesley.Ebisuzaki at NOAA.GOV (Wesley Ebisuzaki) Date: Fri, 17 Apr 2009 13:33:27 -0400 Subject: variables 121 and 122 In-Reply-To: <409FBAA9-66EE-42BD-8BD0-6B9CF93873CB@eas.gatech.edu> Message-ID: Hai-Ru and other ECMWF users, I just put a beta-version wgrib on-line at ftp://ftp.cpc.ncep.noaa.gov/wd51we/wgrib/wgrib.c.beta This version should add the variables 121 and 122 to the control files as well as many others. v1.8.0.12z: 4/09 updated/added ectables: 128, 129, 131, 132, 133, 140, 150, 151, 160, 162, 170, 171, 173, 174, 180, 190, 200, 210, 211, 228 The new tables were generated by a program that pulled the data from the ECMWF web pages. Wesley Ebisuzaki Hai-Ru Chang wrote: > Hello, > ECMWF daily forecast now achieves the maximum and minimum 2 > meter surface temperature since last six hours. The code numbers of > the two variables are 121 and 122. But both grib2clt.pl and gribmap > don't recognize the variables. So I can't use grads to plot out them. > Is there any way to correct it? Thanks! > > > > > > Dr. Hai-Ru Chang > > School of Earth and Atmospheric Sciences > > Georgia Institute of Technology > > Atlanta, GA 30332-0340 > > > From msponsler at COMCAST.NET Fri Apr 17 16:02:26 2009 From: msponsler at COMCAST.NET (Mark Sponsler) Date: Fri, 17 Apr 2009 20:02:26 +0000 Subject: mfhilo In-Reply-To: <2042716872.3048501239998454778.JavaMail.root@sz0052a.emeryville.ca.mail.comcast.net> Message-ID: Thanks Mike. ? Looking forward to using your extension. Will help test when you're ready. Diane - Thanks for syntax.? Will try that too.? Thanks, Mark ----- Original Message ----- From: "Michael Fiorino" To: GRADSUSR at LIST.CINECA.IT Sent: Friday, April 17, 2009 7:31:58 AM GMT -08:00 US/Canada Pacific Subject: Re: mfhilo hi diane and mark, i'm working mfhilo as we speak, the current one in opengrads2.0 is definitely broken... ?will put a beta version out next week... /r mike Diane Stokes wrote: > Hi, Mark. > > I don't have a version of grads with extensions, so I can't confirm this > myself. ?However, the doc indicates that mfhilo is a grads command, not > a function. ?So, in your script, try simply: > ? ?'mfhilo (prmslmsl/100) CL,h|l' > > Diane > > > Mark Sponsler wrote: >> Hello, >> I'm trying to use mfhilo and am having problems. ?Likely a deficiency on >> my part. Any help or nudge in the right direction would be appreciated. >> >> I've downloaded and installed GrADS 2.0.a5.oga.4 on Wind XP in an >> attempt >> to get access to mfhilo. ?Normal scripts work fine using it. >> >> I've consulted the wiki here: http://opengrads.org/doc/udxt/libmf/ >> and constructed a crude attempt to access the function: >> >> 'open file.ctl' >> 'set lat' >> 'set long' >> 'set gxout contour' >> 'd prmslmsl/100' >> >> no problems so far, then... >> >> ?'result = mfhilo (prmslmsl/100) CL,h|l' >> >> ? ? minmax = sublin(result,1) >> >> ? ? say 'minmax = 'minmax >> >> Receive error >> Sytax Error: ?Invalid operand >> 'mfhilo' not a variable or function name >> >> Does anyone have a example or some guidance on how to use this function? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090417/25042e6c/attachment.html From arlindo.dasilva at GMAIL.COM Fri Apr 17 17:17:33 2009 From: arlindo.dasilva at GMAIL.COM (Arlindo da Silva) Date: Fri, 17 Apr 2009 17:17:33 -0400 Subject: MFhilo Installation in PCGRADS 1.9 rc1 In-Reply-To: <20090415215634.22E73209EB@mx2.cineca.it> Message-ID: Mark, The Win32 superpack include the extensions, no need for a separate download. However, the mfhilo extension is new (too new you may say) and has only been released with the opengrads v2.0.a5.oga.x bundles. Unfortunately, an extension written for v2.0 cannot be used with v1.9 without rebuilding and some adjustments in the source code. We are contemplating another (opengrads) v1.x release which has several bug fixes we collected in the last year or so. At that time we might refresh the extensions as well. However, if you can, migrate to v2.0. Arlindo On Wed, Apr 15, 2009 at 5:55 PM, Mark Sponsler wrote: > Hello - > > I need some help installing libmf.gex (Mike Fiorino`s Collection of GrADS > Extensions). > > I'm using grads-1.9.0-rc1 for Win (the zip version not the super pac) > > I go to the Wiki page: http://opengrads.org/doc/udxt/libmf/ > > Which directs me to the download page: > http://sourceforge.net/project/showfiles.php? > group_id=161773&package_id=256757&release_id=589460 > > There are a variety of 6 OS's to choose from - none of which is Windows > based. So I select the 'Platform Independent' option and download the > gzip tar file. > > Upon inspecting it's contents there doesn't appear to be any .dll names > like 'libmf.gex' or mfhilo.... making me wonder whether I'm in the > right place. > > So I inspected my existing GrADS installation: > C:\Program Files\PCGrADS19\win32\gex > > I notice the 'gex' directory which has 4 subdirs (c, dods, hdf, nc, nc4) > under it all of which appear to have some user defined functions already > in them (like fish, gxyat, libbjt, re, shape, etc....). > > The installation instructions don't seem to jive with my installation (it > appears to target only unix users). Any help would be greatly apreciated. > > I know, I could just download Grads version 2.0 and be done with it, but > that would rob me of the experience of actually installing the extension. > I like to learn. > > Thanks, > Mark > -- Arlindo da Silva dasilva at alum.mit.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090417/ee4f58f9/attachment.html From msponsler at COMCAST.NET Fri Apr 17 20:57:25 2009 From: msponsler at COMCAST.NET (Mark Sponsler) Date: Sat, 18 Apr 2009 00:57:25 +0000 Subject: MFhilo Installation in PCGRADS 1.9 rc1 In-Reply-To: <1509332246.3153671240016158916.JavaMail.root@sz0052a.emeryville.ca.mail.comcast.net> Message-ID: Thanks Arlindo, Yes - I'm migrating towards V2.0.? The only difference I see is that where one should? explicitly call gradsdods in v 1.9,?that call would result in an error in 2.0.? B ut in it's place on can just call grads directly and it has smarts to branch to the DAP enabled .dll , resulting in one call for either (like 1.8 used to be - if I remember corr etly ). Thanks again, Mark ----- Original Message ----- From: "Arlindo da Silva" To: GRADSUSR at LIST.CINECA.IT Sent: Friday, April 17, 2009 2:17:33 PM GMT -08:00 US/Canada Pacific Subject: Re: MFhilo Installation in PCGRADS 1.9 rc1 Mark, ?? The Win32 superpack include the extensions, no need for a separate download. However, the mfhilo extension is new (too new you may say)? and has only been released with the opengrads v2.0.a5.oga.x bundles. Unfortunately, an extension written for v2.0 cannot be used with v1.9 without rebuilding and some adjustments in the source code. ?? We are contemplating another (opengrads) v1.x release which has several bug fixes we collected in the last year or so. At that time we might refresh the extensions as well.? However, if you can, migrate to v2.0. ??? Arlindo ? On Wed, Apr 15, 2009 at 5:55 PM, Mark Sponsler < msponsler at comcast.net > wrote: Hello - I need some help installing libmf.gex (Mike Fiorino`s Collection of GrADS Extensions). I'm using grads-1.9.0-rc1 for Win (the zip version not the super pac) I go to the Wiki page: ? http://opengrads.org/doc/udxt/libmf/ Which directs me to the download page: http://sourceforge.net/project/showfiles.php? group_id=161773&package_id=256757&release_id=589460 There are a variety of 6 OS's to choose from - none of which is Windows based. ?So I select the 'Platform Independent' option and download the gzip tar file. Upon inspecting it's contents there doesn't appear to be any .dll names like 'libmf.gex' or ?mfhilo.... ? making me wonder whether I'm in the right place. So I inspected my existing GrADS installation: C:\Program Files\PCGrADS19\win32\gex I notice the 'gex' directory which has 4 subdirs (c, dods, hdf, nc, nc4) under it all of which appear to have some user defined functions already in them (like fish, gxyat, libbjt, re, shape, etc....). The installation instructions don't seem to jive with my installation (it appears to target only unix users). Any help would be greatly apreciated. I know, I could just download Grads version 2.0 and be done with it, but that would rob me of the experience of actually installing the extension. I like to learn. Thanks, Mark -- Arlindo da Silva dasilva at alum.mit.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090418/7d9e3d7c/attachment.html From maldmm5 at GMAIL.COM Sat Apr 18 06:13:37 2009 From: maldmm5 at GMAIL.COM (Mald MM5) Date: Sat, 18 Apr 2009 22:13:37 +1200 Subject: What should I open the .dat files with? In-Reply-To: Message-ID: If it is an ASCII file, it should be easy to open by any text aditor...if using windows use wordpad or notepad...if using linux nedit or any text editor came with the linux package should do the job... Cheers Mald On Fri, Apr 17, 2009 at 11:32 AM, Christopher Blossom < blossom002 at student.wcsu.edu> wrote: > Sorry for my behavior. I just have to ask another question: After using > the fwrite command to write the variables into an ASCII file and quitting > grads as Chia Hsin-hsing suggested, what software should I use (in selecting > "Select the program from a list")? > > > > Thanks in advance, > > > > -Christopher Blossom > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090418/acb271e1/attachment.html From maldmm5 at GMAIL.COM Sat Apr 18 06:17:36 2009 From: maldmm5 at GMAIL.COM (Mald MM5) Date: Sat, 18 Apr 2009 22:17:36 +1200 Subject: Where do I use the script language (where do I create scripts?)? In-Reply-To: Message-ID: The scripting commands cannot be used on the command line. They have to be written in a file we use to call the grads script file which has the ANYFILNAME.gs Note that .gs which means a grads script file...You can use such a script file to type in your usual command line stuff too. And to run the script just type the name of the file in the grads command line... Hope this will get you going... Mald On Sat, Apr 18, 2009 at 2:49 AM, Christopher Blossom < blossom002 at student.wcsu.edu> wrote: > Dear Ricardo and GrADS User Group, > > > > This is Christopher Blossom, a research student at Western Connecticut > State University e-mailing you regarding a question I have about scripts. > In a post I saw, I see "script command goes out of '', not like and GrADS > command, and you > cannot use it in command prompt." If you cannot use it in command prompt, > where can you use it? Your prompt response would be greatly appreciated. > My e-mail address is blossom002 at wcsu.edu. > > > > Thanks in advance, > > > > Christopher Blossom > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090418/4e68384e/attachment.html From maldmm5 at GMAIL.COM Sat Apr 18 06:21:11 2009 From: maldmm5 at GMAIL.COM (Mald MM5) Date: Sat, 18 Apr 2009 22:21:11 +1200 Subject: Question about "your authentication ticket has expired" message I keep getting In-Reply-To: Message-ID: Maybe you might have to talk to systems administrator about this...not very sure On Sat, Apr 18, 2009 at 2:23 AM, Christopher Blossom < blossom002 at student.wcsu.edu> wrote: > Dear User Group, > > > > This is Christopher Blossom e-mailing you from Western Connecticut > State University regarding a login problem. Every few minutes, I keep > having to log in with an error message that says "your authentication ticket > has expired". How long is it until the ticket expires? Is there anything > that can be done about it. Your help is greatly appreciated. > > > > Thanks in advance, > > > > Christopher Blossom > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090418/1373fd36/attachment.html From reto.stauffer at STUDENT.UIBK.AC.AT Sat Apr 18 12:13:04 2009 From: reto.stauffer at STUDENT.UIBK.AC.AT (Reto Stauffer (UNI)) Date: Sat, 18 Apr 2009 18:13:04 +0200 Subject: Stereographic Projection Message-ID: Dear GrADS Usergroup I am working on a MSG satellite visualisation project at our University. We already have a lot of ECMWF-Products which are generatet by a GrADS script. Now we would like to reproduce the same projection with Matlab (Matlab is our major script language). The problem is: there is just one line wich defines the current projection with mproj and lat/lon bordervalues. Now my problem: if i am right GrADS use a standard projection point. I searched a lot in the internet but cannot find any proper solvements. There is just this (http://www.iges.org/grads/gadoc/gradcomdsetmproj.html) =). Does anyone has some hints and tips about the (standard) used radius and projection-point in GrADS? Thanks a lot Best wishes Reto Stauffer Institute for Meteorology and Geophysics UNI Innsbruck Austria From arlindo.dasilva at GMAIL.COM Sat Apr 18 20:35:42 2009 From: arlindo.dasilva at GMAIL.COM (Arlindo da Silva) Date: Sat, 18 Apr 2009 20:35:42 -0400 Subject: MFhilo Installation in PCGRADS 1.9 rc1 In-Reply-To: <2099271646.3154031240016245067.JavaMail.root@sz0052a.emeryville.ca.mail.comcast.net> Message-ID: On Fri, Apr 17, 2009 at 8:57 PM, Mark Sponsler wrote: > Thanks Arlindo, > > Yes - I'm migrating towards V2.0. The only difference I see is that where > one should explicitly call gradsdods in v 1.9, that call would result in an > error in 2.0. But in it's place on can just call grads directly and it has > smarts to branch to the DAP enabled .dll, resulting in one call for either > (like 1.8 used to be - if I remember corretly). > No, there is only one binary in the opengrads builds of v2.0: grads.exe. It can handle all the formats, thanks to a new NetCDF-4 library. COLA's builds still have 2 binaries: grads and gradsdap. The gradsdap.exe that you find in there is just a cover, it is the same code as grads.exe. Arlindo > > Thanks again, > Mark > > > ----- Original Message ----- > From: "Arlindo da Silva" > To: GRADSUSR at LIST.CINECA.IT > Sent: Friday, April 17, 2009 2:17:33 PM GMT -08:00 US/Canada Pacific > Subject: Re: MFhilo Installation in PCGRADS 1.9 rc1 > > Mark, > > The Win32 superpack include the extensions, no need for a separate > download. However, the mfhilo extension is new (too new you may say) and > has only been released with the opengrads v2.0.a5.oga.x bundles. > Unfortunately, an extension written for v2.0 cannot be used with v1.9 > without rebuilding and some adjustments in the source code. > > We are contemplating another (opengrads) v1.x release which has several > bug fixes we collected in the last year or so. At that time we might refresh > the extensions as well. However, if you can, migrate to v2.0. > > Arlindo > > > > On Wed, Apr 15, 2009 at 5:55 PM, Mark Sponsler wrote: > >> Hello - >> >> I need some help installing libmf.gex (Mike Fiorino`s Collection of GrADS >> Extensions). >> >> I'm using grads-1.9.0-rc1 for Win (the zip version not the super pac) >> >> I go to the Wiki page: http://opengrads.org/doc/udxt/libmf/ >> >> Which directs me to the download page: >> http://sourceforge.net/project/showfiles.php? >> group_id=161773&package_id=256757&release_id=589460 >> >> There are a variety of 6 OS's to choose from - none of which is Windows >> based. So I select the 'Platform Independent' option and download the >> gzip tar file. >> >> Upon inspecting it's contents there doesn't appear to be any .dll names >> like 'libmf.gex' or mfhilo.... making me wonder whether I'm in the >> right place. >> >> So I inspected my existing GrADS installation: >> C:\Program Files\PCGrADS19\win32\gex >> >> I notice the 'gex' directory which has 4 subdirs (c, dods, hdf, nc, nc4) >> under it all of which appear to have some user defined functions already >> in them (like fish, gxyat, libbjt, re, shape, etc....). >> >> The installation instructions don't seem to jive with my installation (it >> appears to target only unix users). Any help would be greatly apreciated. >> >> I know, I could just download Grads version 2.0 and be done with it, but >> that would rob me of the experience of actually installing the extension. >> I like to learn. >> >> Thanks, >> Mark >> > > > > -- > Arlindo da Silva > dasilva at alum.mit.edu > -- Arlindo da Silva dasilva at alum.mit.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090418/258ceb78/attachment.html From Michael.Fiorino at NOAA.GOV Sun Apr 19 02:25:46 2009 From: Michael.Fiorino at NOAA.GOV (Michael Fiorino) Date: Sun, 19 Apr 2009 00:25:46 -0600 Subject: Stereographic Projection In-Reply-To: <20090418161408.58F752058F@mx2.cineca.it> Message-ID: dear reto, i'm a bit confused about 'ecmwf-products' generated with grads... are these products plots? the key thing to remember is there are two (really three) projections in grads. for plots or what is displayed on the screen, it is the 'display projection' which is controlled by 'set mproj'. the display project can be be (very) different than the "data projection", e.g., data on a uniform lat/lon grid but displayed on an orthographic (satellite) projection... if your question is about the display projection, then you'd have to consult the source code for precise details, specifically in gxwmap.c the relevant code from gxwmap.c for north polar stereographic is below, but also consult: http://www.iges.org/grads/gadoc/map.html best (re)grads, mike -------------------- gxwmap.c ------------ /* Routine for north polar stereographic. Projection scaling is set along with level 1 linear scaling. The only difficult aspect to this is to set the level 1 linear scaling such that the proper aspect ratio is maintained. */ static float londif; int gxnste (struct mapprj *mpj) { gadouble x1,x2,y1,y2,dum,lonave; gadouble w1,xave,yave; gadouble lonmn, lonmx, latmn, latmx, xmin, xmax, ymin, ymax; lonmn = mpj->lnmn; lonmx = mpj->lnmx; latmn = mpj->ltmn; latmx = mpj->ltmx; xmin = mpj->xmn; xmax = mpj->xmx; ymin = mpj->ymn; ymax = mpj->ymx; if ((lonmx-lonmn) > 360.0) { return (1); } if (lonmn<-360.0 || lonmx>360.0) { return (1); } if (latmn<-80.0 || latmx>90.0) { return (1); } if (latmn>=latmx||lonmn>=lonmx||xmin>=xmax||ymin>=ymax) { return(1); } lonave = (lonmx+lonmn)/2.0; /* Longitude adjustment to put */ londif = -90.0 - lonave; /* central meridian at bottom.*/ lonref = lonave; /* Plotting limits depend on how much of the hemisphere we are actually plotting. */ if ( (lonmx-lonmn) < 180.0 ) { gxnpst ( lonmn, latmn, &x1, &dum ); /* Left side coord */ gxnpst ( lonmx, latmn, &x2, &dum ); /* Right side coord */ gxnpst ( lonmn, latmx, &dum, &y2 ); /* Top coord */ gxnpst ( lonave, latmn, &dum, &y1 ); /* Bottom coord */ } else { gxnpst ( lonave-90.0, latmn, &x1, &dum ); /* Left side coord */ gxnpst ( lonave+90.0, latmn, &x2, &dum ); /* Right side coord */ gxnpst ( lonmn, latmn, &dum, &y2 ); /* Top coord */ gxnpst ( lonave, latmn, &dum, &y1 ); /* Bottom coord */ } /* Set up linear level scaling while maintaining aspect ratio. */ if ( ((xmax-xmin)/(ymax-ymin)) > ((x2-x1)/(y2-y1)) ) { w1 = 0.5*(ymax-ymin)*(x2-x1)/(y2-y1); xave = (xmax+xmin)/2.0; gxscal ( xave-w1, xave+w1, ymin, ymax, x1, x2, y1, y2 ); mpj->axmn = xave-w1; mpj->axmx = xave+w1; mpj->aymn = ymin; mpj->aymx = ymax; } else { w1 = 0.5*(xmax-xmin)*(y2-y1)/(x2-x1); yave = (ymax+ymin)/2.0; gxscal ( xmin, xmax, yave-w1, yave+w1, x1, x2, y1, y2 ); mpj->axmn = xmin; mpj->axmx = xmax; mpj->aymn = yave-w1; mpj->aymx = yave+w1; } gxproj (gxnpst); gxback (gxnrev); adjtyp = 1; return (0); } void gxnpst (gadouble rlon, gadouble rlat, gadouble *x, gadouble *y) { gadouble radius,theta; radius = tan (0.785315-(0.00872572*rlat)); theta = (rlon+londif)*0.0174514; *x = radius * cos(theta); *y = radius * sin(theta); } /* Routine for back transform for npst */ void gxnrev (gadouble x, gadouble y, gadouble *rlon, gadouble *rlat) { gadouble rad,alpha; rad = hypot(x,y); alpha = 180.0*atan(rad)/pi; *rlat = 90.0 - 2.0*alpha; if (x==0.0 && y==0.0) *rlon = 0.0; else { *rlon = (180.0*atan2(y,x)/pi)-londif; while (*rlon < lonref-180.0) *rlon += 360.0; while (*rlon > lonref+180.0) *rlon -= 360.0; } } Reto Stauffer (UNI) wrote: > Dear GrADS Usergroup > > I am working on a MSG satellite visualisation project at our University. We > already have a lot of ECMWF-Products which are generatet by a GrADS script. > > Now we would like to reproduce the same projection with Matlab (Matlab is > our major script language). The problem is: there is just one line wich > defines the current projection with mproj and lat/lon bordervalues. > > Now my problem: if i am right GrADS use a standard projection point. I > searched a lot in the internet but cannot find any proper solvements. There > is just this (http://www.iges.org/grads/gadoc/gradcomdsetmproj.html) =). > > Does anyone has some hints and tips about the (standard) used radius and > projection-point in GrADS? > > Thanks a lot > Best wishes > Reto Stauffer > Institute for Meteorology and Geophysics > UNI Innsbruck Austria From athar at WEATHER2.CO.UK Mon Apr 20 07:44:29 2009 From: athar at WEATHER2.CO.UK (Athar Ahmad) Date: Mon, 20 Apr 2009 12:44:29 +0100 Subject: How to run mfhilo gex and udxt Message-ID: Hi, I can see that there is a file named libmf.gex and libmf.udxt under \Contents\Cygwin\Versions\2.0.a5.oga.4\i686\gex on my Windows PC which contains the mfhilo command but how to make it run as an command under opengrads. If I am trying to issue it on da -> mfhilo it says unknown command mfhilo. Please explain me step by step what I need to do to make it run on Windows. Thanks, Athar -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090420/67ea804c/attachment.html From hrc at EAS.GATECH.EDU Mon Apr 20 09:47:38 2009 From: hrc at EAS.GATECH.EDU (Hai-Ru Chang) Date: Mon, 20 Apr 2009 09:47:38 -0400 Subject: ensemble mean, standard deviation and min-max diagrams In-Reply-To: <77fcd6b20902241232o16633df5jfd2b550259ad58db@mail.gmail.com> Message-ID: Hello, In the document of "The ensemble dimension', there is a diagrams shows ensemble mean, +/- one standard deviation and minimum and maximum values over all members. Does anyone know where can I download the grads script to display the diagram? Thanks! Dr. Hai-Ru Chang School of Earth and Atmospheric Sciences Georgia Institute of Technology Atlanta, GA 30332-0340 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090420/7b803244/attachment.html From arlindo.dasilva at GMAIL.COM Mon Apr 20 12:38:15 2009 From: arlindo.dasilva at GMAIL.COM (Arlindo da Silva) Date: Mon, 20 Apr 2009 12:38:15 -0400 Subject: ensemble mean, standard deviation and min-max diagrams In-Reply-To: <6D5C068D-6E26-4CA5-99EB-82694BE4CECB@eas.gatech.edu> Message-ID: On Mon, Apr 20, 2009 at 9:47 AM, Hai-Ru Chang wrote: > Hello, In the document of "The ensemble dimension', there is a > diagrams shows ensemble mean, +/- one standard deviation and minimum and > maximum values over all members. Does anyone know where can I download the > grads script to display the diagram? Thanks! > > Search the list, Jennifer posted a follow on message with the actual script she used. We tried to capture some of it in this Recipe: http://cookbooks.opengrads.org/index.php?title=Recipe-020:_Spaghetti_and_Box-and-whisker_plots_based_on_GFS_ensemble_forecasts Arlindo -- Arlindo da Silva dasilva at alum.mit.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090420/461cf560/attachment.html From msponsler at COMCAST.NET Mon Apr 20 13:04:26 2009 From: msponsler at COMCAST.NET (Mark Sponsler) Date: Mon, 20 Apr 2009 17:04:26 +0000 Subject: How to run mfhilo gex and udxt In-Reply-To: <1787344227.3897941240247042282.JavaMail.root@sz0052a.emeryville.ca.mail.comcast.net> Message-ID: Hi Athar, The version included in 2.0.a5 is broken.? Michael Fiorino is working to get a new version available for the community, hopefully in the next week or so. Thanks, Mark ----- Original Message ----- From: "Athar Ahmad" To: GRADSUSR at LIST.CINECA.IT Sent: Monday, April 20, 2009 4:44:29 AM GMT -08:00 US/Canada Pacific Subject: How to run mfhilo gex and udxt Hi, ?I can see that there is a file named libmf.gex and libmf.udxt under \Contents\Cygwin\Versions\2.0.a5.oga.4\i686\gex on my Windows PC which contains the mfhilo command but how to make it run as an command under opengrads. If I am trying to issue it on da -> mfhilo it says unknown command mfhilo. Please explain me step by step what I need to do to make it run on Windows. Thanks, Athar -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090420/758e3e0b/attachment.html From hrc at EAS.GATECH.EDU Wed Apr 22 10:51:08 2009 From: hrc at EAS.GATECH.EDU (Hai-Ru Chang) Date: Wed, 22 Apr 2009 10:51:08 -0400 Subject: setup a Window button of changing current working directory In-Reply-To: <99d0dc5f0904141031h4e463ff5g5c1d3e3f62970a3f@mail.gmail.com> Message-ID: Hello, Is there any way in GAGUI to set up an Window Button than will change current working directory for you. The purpose of the button is to make the file list in 'open'' menu item to list the files in the directory that you want. Thanks! Dr. Hai-Ru Chang School of Earth and Atmospheric Sciences Georgia Institute of Technology Atlanta, GA 30332-0340 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090422/a93e4fe9/attachment.html From jcrosby at SCOTIAWEATHER.COM Wed Apr 22 11:02:23 2009 From: jcrosby at SCOTIAWEATHER.COM (jcrosby@scotiaweather.com) Date: Wed, 22 Apr 2009 12:02:23 -0300 Subject: Grads page dimensions Message-ID: Good afternoon, Is it possible to create grads images larger then 8x11? -- Joseph Crosby Network Administrator Scotia Weather Service Inc. netadmin at scotiaweather.com ----------- A byte walks into a bar and orders a pint. Bartender asks him "What's wrong?" Byte says "Parity error." Bartender nods and says "Yeah, I thought you looked a bit off." From mmacleod at SCOTIAWEATHER.COM Wed Apr 22 11:07:01 2009 From: mmacleod at SCOTIAWEATHER.COM (mmacleod) Date: Wed, 22 Apr 2009 15:07:01 +0000 Subject: Grads page dimensions In-Reply-To: <49EF317F.1080207@scotiaweather.com> Message-ID: Hi. Dean says not that he can see but I will sent an e-mail to Jenifer Adams to see if it is possible. Cheers Mac jcrosby at scotiaweather.com wrote: > Good afternoon, > > Is it possible to create grads images larger then 8x11? > > -- > Joseph Crosby > Network Administrator > Scotia Weather Service Inc. > netadmin at scotiaweather.com > ----------- > A byte walks into a bar and orders a pint. Bartender asks him "What's > wrong?" Byte says "Parity error." Bartender nods and says "Yeah, I > thought you looked a bit off." -- M.A. (Mac) MacLeod President and General Manager Scotia Weather Services Inc 192 Wyse Road, Suite 8, Dartmouth, N.S. B3A 1M9 Tele: 902-468-3866 Fax: 902-461-1768 E-mail: mmacleod at scotiaweather.com Visit us: www.scotiaweather.com From smcmillan at PLANALYTICS.COM Wed Apr 22 11:30:50 2009 From: smcmillan at PLANALYTICS.COM (Stephen R McMillan) Date: Wed, 22 Apr 2009 10:30:50 -0500 Subject: Grads page dimensions In-Reply-To: <49EF3295.5020601@scotiaweather.com> Message-ID: You can create GrADS images larger than 8x11. For example, control pixel size (and thus image size) with xNNN and yNNN in the printim command. See Documentation Index: http://grads.iges.org/grads/gadoc/gradcomdprintim.html Stephen McMillan mmacleod Sent by: GRADSUSR at LIST.CINECA.IT 04/22/2009 10:07 AM Please respond to GRADSUSR at LIST.CINECA.IT To GRADSUSR at LIST.CINECA.IT cc Subject Re: Grads page dimensions Hi. Dean says not that he can see but I will sent an e-mail to Jenifer Adams to see if it is possible. Cheers Mac jcrosby at scotiaweather.com wrote: > Good afternoon, > > Is it possible to create grads images larger then 8x11? > > -- > Joseph Crosby > Network Administrator > Scotia Weather Service Inc. > netadmin at scotiaweather.com > ----------- > A byte walks into a bar and orders a pint. Bartender asks him "What's > wrong?" Byte says "Parity error." Bartender nods and says "Yeah, I > thought you looked a bit off." -- M.A. (Mac) MacLeod President and General Manager Scotia Weather Services Inc 192 Wyse Road, Suite 8, Dartmouth, N.S. B3A 1M9 Tele: 902-468-3866 Fax: 902-461-1768 E-mail: mmacleod at scotiaweather.com Visit us: www.scotiaweather.com *************************************************** The information contained in this e-mail message is intended only for the use of the recipient(s) named above and may contain information that is privileged, confidential, and/or proprietary. If you are not the intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the sender immediately by e-mail, and delete the original message. *************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090422/7d3add7d/attachment.html From jcrosby at SCOTIAWEATHER.COM Wed Apr 22 11:38:43 2009 From: jcrosby at SCOTIAWEATHER.COM (jcrosby@scotiaweather.com) Date: Wed, 22 Apr 2009 12:38:43 -0300 Subject: Grads page dimensions In-Reply-To: Message-ID: Excellent, exactly what I was looking for. Thank you very much. Stephen R McMillan wrote: > You can create GrADS images larger than 8x11. For example, control > pixel size (and thus image size) with xNNN and yNNN in the printim > command. See Documentation Index: > http://grads.iges.org/grads/gadoc/gradcomdprintim.html > > Stephen McMillan > > > *mmacleod * > Sent by: GRADSUSR at LIST.CINECA.IT > > 04/22/2009 10:07 AM > Please respond to > GRADSUSR at LIST.CINECA.IT > > > > To > GRADSUSR at LIST.CINECA.IT > cc > > Subject > Re: Grads page dimensions > > > > > > > > > Hi. > > Dean says not that he can see but I will sent an e-mail to Jenifer Adams > to see if it is possible. > > Cheers > > Mac > > > jcrosby at scotiaweather.com wrote: > > Good afternoon, > > > > Is it possible to create grads images larger then 8x11? > > > > -- > > Joseph Crosby > > Network Administrator > > Scotia Weather Service Inc. > > netadmin at scotiaweather.com > > ----------- > > A byte walks into a bar and orders a pint. Bartender asks him "What's > > wrong?" Byte says "Parity error." Bartender nods and says "Yeah, I > > thought you looked a bit off." > > -- > M.A. (Mac) MacLeod > President and General Manager > Scotia Weather Services Inc > 192 Wyse Road, Suite 8, > Dartmouth, N.S. B3A 1M9 > > Tele: 902-468-3866 > Fax: 902-461-1768 > E-mail: mmacleod at scotiaweather.com > Visit us: www.scotiaweather.com > > > > *************************************************** > The information contained in this e-mail message is intended only for > the use of the recipient(s) named above and may contain information > that is privileged, confidential, and/or proprietary. If you are not > the intended recipient, you may not review, copy or distribute this > message. If you have received this communication in error, please > notify the sender immediately by e-mail, and delete the original message. > *************************************************** -- Joseph Crosby Network Administrator Scotia Weather Service Inc. netadmin at scotiaweather.com ----------- A byte walks into a bar and orders a pint. Bartender asks him "What's wrong?" Byte says "Parity error." Bartender nods and says "Yeah, I thought you looked a bit off." From smcmillan at PLANALYTICS.COM Wed Apr 22 11:45:10 2009 From: smcmillan at PLANALYTICS.COM (Stephen R McMillan) Date: Wed, 22 Apr 2009 10:45:10 -0500 Subject: Grads page dimensions In-Reply-To: <49EF3A03.4090505@scotiaweather.com> Message-ID: Great! You can also control the image size on screen using the 'set xsize...' command. SMc "jcrosby at scotiaweather.com" Sent by: GRADSUSR at LIST.CINECA.IT 04/22/2009 10:38 AM Please respond to GRADSUSR at LIST.CINECA.IT To GRADSUSR at LIST.CINECA.IT cc Subject Re: Grads page dimensions Excellent, exactly what I was looking for. Thank you very much. Stephen R McMillan wrote: > You can create GrADS images larger than 8x11. For example, control > pixel size (and thus image size) with xNNN and yNNN in the printim > command. See Documentation Index: > http://grads.iges.org/grads/gadoc/gradcomdprintim.html > > Stephen McMillan > > > *mmacleod * > Sent by: GRADSUSR at LIST.CINECA.IT > > 04/22/2009 10:07 AM > Please respond to > GRADSUSR at LIST.CINECA.IT > > > > To > GRADSUSR at LIST.CINECA.IT > cc > > Subject > Re: Grads page dimensions > > > > > > > > > Hi. > > Dean says not that he can see but I will sent an e-mail to Jenifer Adams > to see if it is possible. > > Cheers > > Mac > > > jcrosby at scotiaweather.com wrote: > > Good afternoon, > > > > Is it possible to create grads images larger then 8x11? > > > > -- > > Joseph Crosby > > Network Administrator > > Scotia Weather Service Inc. > > netadmin at scotiaweather.com > > ----------- > > A byte walks into a bar and orders a pint. Bartender asks him "What's > > wrong?" Byte says "Parity error." Bartender nods and says "Yeah, I > > thought you looked a bit off." > > -- > M.A. (Mac) MacLeod > President and General Manager > Scotia Weather Services Inc > 192 Wyse Road, Suite 8, > Dartmouth, N.S. B3A 1M9 > > Tele: 902-468-3866 > Fax: 902-461-1768 > E-mail: mmacleod at scotiaweather.com > Visit us: www.scotiaweather.com > > > > *************************************************** > The information contained in this e-mail message is intended only for > the use of the recipient(s) named above and may contain information > that is privileged, confidential, and/or proprietary. If you are not > the intended recipient, you may not review, copy or distribute this > message. If you have received this communication in error, please > notify the sender immediately by e-mail, and delete the original message. > *************************************************** -- Joseph Crosby Network Administrator Scotia Weather Service Inc. netadmin at scotiaweather.com ----------- A byte walks into a bar and orders a pint. Bartender asks him "What's wrong?" Byte says "Parity error." Bartender nods and says "Yeah, I thought you looked a bit off." *************************************************** The information contained in this e-mail message is intended only for the use of the recipient(s) named above and may contain information that is privileged, confidential, and/or proprietary. If you are not the intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the sender immediately by e-mail, and delete the original message. *************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090422/4ba885bd/attachment.html From msponsler at COMCAST.NET Wed Apr 22 15:16:59 2009 From: msponsler at COMCAST.NET (Mark Sponsler) Date: Wed, 22 Apr 2009 21:16:59 +0200 Subject: Possible PrintIM Bug in GrADS 2.0 (PC Version) Message-ID: Hello, I noticed some strange behavior in the 'printim' function in Open Grads ver 2.0.a5.oga.4 for Windows in batch mode. When invoking the 'background' option (-b), it does not work. No output is produced and no error is displayed. The script appears to run to completion but no printed output is produced. The 'foreground' (-f) option works fine. I wrote a basic script to duplicate this problem, and switch the path between GrADS 1.9 and 2.0. Everything runs fine in 1.9, but not so much in 2.0. Looking at the Documentation Index, it does not appear that there is any functionailty change between the 2 versions with regards to the -b option. I can provide the script and supporting files if anyone is interested. Thanks, Mark From arlindo.dasilva at GMAIL.COM Wed Apr 22 17:36:56 2009 From: arlindo.dasilva at GMAIL.COM (Arlindo da Silva) Date: Wed, 22 Apr 2009 17:36:56 -0400 Subject: setup a Window button of changing current working directory In-Reply-To: Message-ID: On Wed, Apr 22, 2009 at 10:51 AM, Hai-Ru Chang wrote: > Hello, Is there any way in GAGUI to set up an Window Button than > will change current working directory for you. The purpose of the button is > to make the file list in 'open'' menu item to list the files in the > directory that you want. Thanks! > > Short answer: no. Longer answer: the chdir() function is a very needed functionality in grads; I've been thinking about implementing it as an opengrads extension (along with other POSIX functionality). Having that command, you can create a simple GAGUI button to run chdir(). Arlindo -- Arlindo da Silva dasilva at alum.mit.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090422/5a149eb3/attachment.html From hrc at EAS.GATECH.EDU Thu Apr 23 15:39:36 2009 From: hrc at EAS.GATECH.EDU (Hai-Ru Chang) Date: Thu, 23 Apr 2009 15:39:36 -0400 Subject: color control on 'set gxout linefill' In-Reply-To: <9172A0AA-A672-48ED-A6E7-F4D4B45610E0@cola.iges.org> Message-ID: Hello, Can anyone tell me how to control the color in linefill type of graphics? Thanks! Dr. Hai-Ru Chang School of Earth and Atmospheric Sciences Georgia Institute of Technology Atlanta, GA 30332-0340 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090423/eff5b9d3/attachment.html From isabelpilotto at GMAIL.COM Fri Apr 24 15:48:53 2009 From: isabelpilotto at GMAIL.COM (Isabel Pilotto) Date: Fri, 24 Apr 2009 16:48:53 -0300 Subject: netcdf file Message-ID: Dear users, I have a netcdf file which the variable name starts with a number and the GRADS can't read this file. What could I do to solve this problem? Regards, Isabel Pilotto. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090424/dc12de1c/attachment.html From howardb at SSEC.WISC.EDU Fri Apr 24 15:58:48 2009 From: howardb at SSEC.WISC.EDU (Howard Berger) Date: Fri, 24 Apr 2009 14:58:48 -0500 Subject: Drawing lines connecting station data In-Reply-To: Message-ID: I have station data of tropical cyclone best track lat, lon, vmax, and mean sea level pressure. Each point varies in time. Is it possible to draw a line connecting each point and a circle at each station location? It looks like: set gxout stnmark will plot the circles, but is there an easy way to draw a line in between each circle? I looked at set cmark but that didn't seem to have an option to do this. Thank you very much, Howard From paulopomatos at UOL.COM.BR Fri Apr 24 16:25:15 2009 From: paulopomatos at UOL.COM.BR (Paulo) Date: Fri, 24 Apr 2009 17:25:15 -0300 Subject: netcdf file In-Reply-To: Message-ID: An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090424/8e217b69/attachment.html From rsolanob at EMAIL.ARIZONA.EDU Fri Apr 24 16:49:36 2009 From: rsolanob at EMAIL.ARIZONA.EDU (Ramon Solano) Date: Fri, 24 Apr 2009 13:49:36 -0700 Subject: netcdf file In-Reply-To: Message-ID: Hello Isabel, As a last resource, you can create a .ctl description file where you can "map" the original variable names to an alias. For example, I have a HDF file with a var named "0.5 deg monthly EVI". I handled it by creating an alias for it in the corresponding .ctl file. The entry was as follow: VARS 7 0.5~deg~monthly~EVI=>evi 0 y,x EVI : ENDVARS You can read more on the GrADS .ctl file section (http://grads.iges.org/grads/gadoc/descriptorfile.html#VARS) Regards, Ramon -- Ramon Solano, Research Specialist Terrestrial Biophysics and Remote Sensing Lab. Dept. of Soil, Water and Environmental Sciences University of Arizona Quoting Isabel Pilotto : > Dear users, > > I have a netcdf file which the variable name starts with a number and the > GRADS can't read this file. What could I do to solve this problem? > > Regards, > > Isabel Pilotto. From isabelpilotto at GMAIL.COM Fri Apr 24 17:17:21 2009 From: isabelpilotto at GMAIL.COM (Isabel Pilotto) Date: Fri, 24 Apr 2009 18:17:21 -0300 Subject: netcdf file In-Reply-To: <49f2202b8acd2_38731555555879b464f@weasel14.tmail> Message-ID: Obrigada por me responder. N?o ? o nome do arquivo que come?a com n?mero e sim o nome da vari?vel. Sendo assim o Grads n?o consegue abrir o arquivo. Descriptor: temp_2m.nc Binary: temp_2m.nc Type = Gridded Xsize = 240 Ysize = 121 Zsize = 1 Tsize = 111 Number of Variables = 1 2t 0 -999 2 metre temperature Eu usei o gradsnc e sdfopen para tentar abrir o arquivo. 2009/4/24 Paulo > Olha, Isabel, isto n?o costuma ser problema n?o. Trabalho com netcdf sempre > com a data no in?cio do nome - tipo 20080130.nc. Vc usou gradsnc para > abrir o grads, verificou se chamou tudo certinho? Pode ser algum problema > anterior... Ou o padr?o do arquivo nc n?o ? COARDS, o que pode dar algum > problema (diz-se no help que o sdfopen s? abre arquivos netcdf com padr?o > COARDS). > > ? disposi??o para eventuais ajudas! > > Abra?o, > > Paulo. > > > > Em 24/04/2009 16:48, *Isabel Pilotto < isabelpilotto at GMAIL.COM >*escreveu: > > > Dear users, > I have a netcdf file? which the variable name starts with a number and > the GRADS can't read this file. What could I do to solve this problem? > Regards, > Isabel Pilotto. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090424/530b5e1f/attachment.html From t.parker at UGRAD.UNIMELB.EDU.AU Mon Apr 27 00:47:44 2009 From: t.parker at UGRAD.UNIMELB.EDU.AU (Tess Parker) Date: Mon, 27 Apr 2009 06:47:44 +0200 Subject: Drawing lines connecting station data Message-ID: On Fri, 24 Apr 2009 14:58:48 -0500, Howard Berger wrote: >I have station data of tropical cyclone best track lat, lon, vmax, and >mean sea level pressure. Each point varies in time. >Is it possible to draw a line connecting each point and a circle at each >station location? >It looks like: >set gxout stnmark will plot the circles, but is there an easy way to >draw a line in between each circle? >I looked at set cmark but that didn't seem to have an option to do this. >Thank you very much, >Howard Howard - I found a routine that allowed you to draw lines manually between stations by pointing and clicking on the plot. I honestly can't remember where I got it from, but it works very well, so here it is: and apologies for not acknowledging the author, I found this on the web last year and don't have my notes on where it came from. Do your plot in GrADS, then run this script from the ga-> prompt. You can click on a sequence of stations, then click near the bottom of the screen to finish drawing that line. To draw another line, run the script again. Set your line attributes as required. * "connects the dots" -- while user points and clicks, * this script connects the points with a line using the * current line attributes. User must point and click * near the bottom of the screen to quit. * say 'Click near bottom of the screen to quit' 'query bpos' xold = subwrd(result,3) yold = subwrd(result,4) while (1) 'query bpos' x = subwrd(result,3) y = subwrd(result,4) if (y<'0.5'); break; endif; 'draw line 'xold' 'yold' 'x' 'y xold = x yold = y endwhile From prjayakrishnan at GMAIL.COM Mon Apr 27 10:12:45 2009 From: prjayakrishnan at GMAIL.COM (Jayakrishnan PR) Date: Mon, 27 Apr 2009 16:12:45 +0200 Subject: step by step installation of eof in grads (2009) Message-ID: if you are using linux 32bit OS download PC(i386) Linux (32bit) from http://www.atmos.ucla.edu/~munnich/Grads/EOF/ open teminal then gedit .bashrc (your bash file) your gradspath(where grads is installed) may be (eg: /home/alice/grads ) export GRADS="/home/your_home/grads" export GADDIR="/home/your_home/grads/data" export GASCRP="/home/your_home/grads/lib" PATH=${PATH}:$GRADS/bin put the following line export GAUDFT="/home/your_home/grads/udft.txt" then it will become export GRADS="/home/your_home/grads" export GADDIR="/home/your_home/grads/data" export GASCRP="/home/your_home/grads/lib" export GAUDFT="/home/your_home/grads/udft.txt" PATH=${PATH}:$GRADS/bin before the last line ( that is PATH=${PATH}:$GRADS/bin) save and exit bashrc then copy the eofudf file from the extracted directory to your grads folder. then create a blank file called udft.txt inside your grads folder. then add the following lines to it eofudf 2 6 expr value value value value char sequential /your/path/to/eofudf <-- Your path to the eofudf executable eofudf.in eofudf.out here set the /your/path/to/eofudf as /home/your_home/grads/eofudf (where you have copied eofudf) then it will become excatly in format(dont change the order) eofudf 2 6 expr value value value value char sequential /home/your_home/grads/eofudf eofudf.in eofudf.out then as root copy the library file libcxa.so.3 to /usr/lib from treminal from the extracted folder (ie: cp libcxa,s0.3 /usr/lib) go to /usr/lib and change its permission with chmod (ie chmod 777 libcxa.so.3) now exit from root either open a new terminal otherwise in current terminal give command: source /home/your_home/.bashrc now open grads and open your data. then type command: q udft if it is properly installed it will give somthing like eofudf Args: 2 6 Exec: /home/your_home/grads/eofudf done........................... now set you time (eg: set t 1 20) set your lat and lon then type eof your_variable it will display and create some output files as ctl and data files. Enjoyyyyyyyy.......(help others) From jma at COLA.IGES.ORG Mon Apr 27 10:23:03 2009 From: jma at COLA.IGES.ORG (Jennifer Adams) Date: Mon, 27 Apr 2009 10:23:03 -0400 Subject: color control on 'set gxout linefill' In-Reply-To: <2759F8EE-5D3D-48F1-A44C-0583B5FEC047@eas.gatech.edu> Message-ID: Use the 'set lfcols' command to set the colors used by gxout linefill. For example, set lfcols 2 4 set gxout linefill d v-(ave(v,t=1,t=61)); const(v,0) On Apr 23, 2009, at 3:39 PM, Hai-Ru Chang wrote: > Hello, > Can anyone tell me how to control the color in linefill > type of graphics? Thanks! > > > > > > Dr. Hai-Ru Chang > School of Earth and Atmospheric Sciences > Georgia Institute of Technology > Atlanta, GA 30332-0340 > > -- Jennifer M. Adams IGES/COLA 4041 Powder Mill Road, Suite 302 Calverton, MD 20705 jma at cola.iges.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090427/b571aa2f/attachment.html From jma at COLA.IGES.ORG Mon Apr 27 10:23:58 2009 From: jma at COLA.IGES.ORG (Jennifer Adams) Date: Mon, 27 Apr 2009 10:23:58 -0400 Subject: Possible PrintIM Bug in GrADS 2.0 (PC Version) In-Reply-To: <20090422191802.C57D5209B2@mx2.cineca.it> Message-ID: That's a known GrADS bug that has been patched for the next release. -- Jennifer On Apr 22, 2009, at 3:16 PM, Mark Sponsler wrote: > Hello, > I noticed some strange behavior in the 'printim' function in Open > Grads > ver 2.0.a5.oga.4 for Windows in batch mode. > > When invoking the 'background' option (-b), it does not work. No > output is > produced and no error is displayed. The script appears to run to > completion but no printed output is produced. > > The 'foreground' (-f) option works fine. > > I wrote a basic script to duplicate this problem, and switch the path > between GrADS 1.9 and 2.0. Everything runs fine in 1.9, but not so > much > in 2.0. > > Looking at the Documentation Index, it does not appear that there is > any > functionailty change between the 2 versions with regards to the -b > option. > > I can provide the script and supporting files if anyone is interested. > > Thanks, > Mark -- Jennifer M. Adams IGES/COLA 4041 Powder Mill Road, Suite 302 Calverton, MD 20705 jma at cola.iges.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090427/0b4460a5/attachment.html From mhess at OCEANI.COM Mon Apr 27 11:22:59 2009 From: mhess at OCEANI.COM (Mark Hess) Date: Mon, 27 Apr 2009 09:22:59 -0600 Subject: cnvgrib executable file In-Reply-To: <77fcd6b20901291856o43b5d436xb8e50397f18bf5b@mail.gmail.com> Message-ID: I see a link to a Windows executable for cnvgrib (ftp://grads.iges.org/grads/cnvgrib-1.1.7.zip) on the page http://www.iges.org/grads/downloads.html, but the link appears to be broken. Does anyone know of a site where I can download pre-compiled versions of cnvgrib for Windows (Vista) and RedHat linux i686? Thanks, Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090427/b4904ceb/attachment.html From howardb at SSEC.WISC.EDU Mon Apr 27 11:24:37 2009 From: howardb at SSEC.WISC.EDU (Howard Berger) Date: Mon, 27 Apr 2009 10:24:37 -0500 Subject: Drawing lines connecting station data In-Reply-To: <20090427044847.DE5B51FEDA@mx2.cineca.it> Message-ID: Thanks. That will be useful Tess. I actually found that my points were so close together that they look like a line anyway. So, that is another method: just interpolate your points to be close enough so they look like a line. Howard Tess Parker wrote: > On Fri, 24 Apr 2009 14:58:48 -0500, Howard Berger wrote: > > >> I have station data of tropical cyclone best track lat, lon, vmax, and >> mean sea level pressure. Each point varies in time. >> Is it possible to draw a line connecting each point and a circle at each >> station location? >> It looks like: >> set gxout stnmark will plot the circles, but is there an easy way to >> draw a line in between each circle? >> I looked at set cmark but that didn't seem to have an option to do this. >> Thank you very much, >> Howard >> > > Howard - I found a routine that allowed you to draw lines manually between > stations by pointing and clicking on the plot. I honestly can't remember > where I got it from, but it works very well, so here it is: and apologies > for not acknowledging the author, I found this on the web last year and > don't have my notes on where it came from. > > Do your plot in GrADS, then run this script from the ga-> prompt. You can > click on a sequence of stations, then click near the bottom of the screen to > finish drawing that line. To draw another line, run the script again. Set > your line attributes as required. > > > * "connects the dots" -- while user points and clicks, > * this script connects the points with a line using the > * current line attributes. User must point and click > * near the bottom of the screen to quit. > * > say 'Click near bottom of the screen to quit' > 'query bpos' > xold = subwrd(result,3) > yold = subwrd(result,4) > while (1) > 'query bpos' > x = subwrd(result,3) > y = subwrd(result,4) > if (y<'0.5'); break; endif; > 'draw line 'xold' 'yold' 'x' 'y > xold = x > yold = y > endwhile > > From jma at COLA.IGES.ORG Mon Apr 27 11:31:50 2009 From: jma at COLA.IGES.ORG (Jennifer Adams) Date: Mon, 27 Apr 2009 11:31:50 -0400 Subject: cnvgrib executable file Message-ID: On Apr 27, 2009, at 11:22 AM, Mark Hess wrote: > I see a link to a Windows executable for cnvgrib = > (ftp://grads.iges.org/grads/cnvgrib-1.1.7.zip) on the page = > http://www.iges.org/grads/downloads.html, but the link appears to be = > broken. I will update the link. Meanwhile, here is the file: ftp://grads.iges.org/grads/cnvgrib-1.1.7-cygwin.zip > Does anyone know of a site where I can download pre-compiled = > versions of cnvgrib for Windows (Vista) and RedHat linux i686? > > Thanks, > > Mark -- Jennifer M. Adams IGES/COLA 4041 Powder Mill Road, Suite 302 Calverton, MD 20705 jma at cola.iges.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090427/365fc911/attachment.html From mhess at OCEANI.COM Mon Apr 27 11:40:02 2009 From: mhess at OCEANI.COM (Mark Hess) Date: Mon, 27 Apr 2009 09:40:02 -0600 Subject: cnvgrib executable file In-Reply-To: Message-ID: Thanks! Mark ----- Original Message ----- From: Jennifer Adams To: GRADSUSR at LIST.CINECA.IT Sent: Monday, April 27, 2009 9:31 AM Subject: Re: cnvgrib executable file On Apr 27, 2009, at 11:22 AM, Mark Hess wrote: I see a link to a Windows executable for cnvgrib = (ftp://grads.iges.org/grads/cnvgrib-1.1.7.zip) on the page = http://www.iges.org/grads/downloads.html, but the link appears to be = broken. I will update the link. Meanwhile, here is the file: ftp://grads.iges.org/grads/cnvgrib-1.1.7-cygwin.zip Does anyone know of a site where I can download pre-compiled = versions of cnvgrib for Windows (Vista) and RedHat linux i686? Thanks, Mark -- Jennifer M. Adams IGES/COLA 4041 Powder Mill Road, Suite 302 Calverton, MD 20705 jma at cola.iges.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090427/e93df6b2/attachment.html From arlindo.dasilva at GMAIL.COM Mon Apr 27 12:36:49 2009 From: arlindo.dasilva at GMAIL.COM (Arlindo da Silva) Date: Mon, 27 Apr 2009 12:36:49 -0400 Subject: step by step installation of eof in grads (2009) In-Reply-To: <20090427141349.04A762009E@mx2.cineca.it> Message-ID: On Mon, Apr 27, 2009 at 10:12 AM, Jayakrishnan PR wrote: > if you are using linux 32bit OS > Thank your for these instructions. Please specify the GrADS version you are using. These instructions only apply to GrADS v1.x as GrADS v2.0 does not support classic UDFs. Alternatives for EOF in GrADS v2.0 include pygrads http://opengrads.org/wiki/index.php?title=Python_Interface_to_GrADS There is also the possibility of implementing this EOF package as an OpenGrADS extension. Any volunteers? I can walk you through the necessary steps. Arlindo -- Arlindo da Silva dasilva at alum.mit.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090427/dd65d77d/attachment.html From remi.meynadier at AERO.JUSSIEU.FR Tue Apr 28 12:54:26 2009 From: remi.meynadier at AERO.JUSSIEU.FR (Remi Meynadier) Date: Tue, 28 Apr 2009 18:54:26 +0200 Subject: List of Grads Symbol Fonts Message-ID: Hi, I dont know how to draw mathematical symbol (nabla ...) in a title. Have not find significant answer to my problem on the GRADSUSR archives. Is it possible ? Thanks in advance RM -- Remi Meynadier Service d'a?ronomie Tour 45, Couloir 45-46, 3e ?tage Universit? Pierre et Marie Curie 4 place Jussieu 75252 Paris C?dex 05 France T?l: 33 (0)1 44 27 84 45 From jimp at HAWAII.EDU Tue Apr 28 14:29:55 2009 From: jimp at HAWAII.EDU (James T. Potemra) Date: Tue, 28 Apr 2009 08:29:55 -1000 Subject: List of Grads Symbol Fonts In-Reply-To: <20090428165532.6894C20091@mx2.cineca.it> Message-ID: Hi Remi: You can add symbols (or change to other fonts) by preceding the text with a ` and then the font number, e.g.: "draw title f = `3b`1V = 1/ `3r 7*t" The `3 indicates font number 3 is desired, and all subsequent text will be in that font. I then switch back to font 1, then back to 3. There are 5 fonts to choose from (numbered 0 to 4). I've attached a little script that will plot all the characters of a given font (specified in line 3). Hope this helps, jim ------------------------ 'enable print plot.out' * set font number here fontnum = 3 char.1 = "`" char.2 = "1" char.3 = "2" char.4 = "3" char.5 = "4" char.6 = "5" char.7 = "6" char.8 = "7" char.9 = "8" char.10 = "9" char.11 = "0" char.12 = "-" char.13 = "=" char.14 = "q" char.15 = "w" char.16 = "e" char.17 = "r" char.18 = "t" char.19 = "y" char.20 = "u" char.21 = "i" char.22 = "o" char.23 = "p" char.24 = "[" char.25 = "]" char.26 = "\" char.27 = "a" char.28 = "s" char.29 = "d" char.30 = "f" char.31 = "g" char.32 = "h" char.33 = "j" char.34 = "k" char.35 = "l" char.36 = ";" char.37 = "'" char.38 = "z" char.39 = "x" char.40 = "c" char.41 = "v" char.42 = "b" char.43 = "n" char.44 = "m" char.45 = "," char.46 = "." char.47 = "/" char.48 = "~" char.49 = "!" char.50 = "@" char.51 = "#" char.52 = "$" char.53 = "%" char.54 = "^" char.55 = "&" char.56 = "*" char.57 = "(" char.58 = ")" char.59 = "_" char.60 = "+" char.61 = "Q" char.62 = "W" char.63 = "E" char.64 = "R" char.65 = "T" char.66 = "Y" char.67 = "U" char.68 = "I" char.69 = "O" char.70 = "P" char.71 = "{" char.72 = "}" char.73 = "|" char.74 = "A" char.75 = "S" char.76 = "D" char.77 = "F" char.78 = "G" char.79 = "H" char.80 = "J" char.81 = "K" char.82 = "L" char.83 = ":" char.84 = '"' char.85 = "Z" char.86 = "X" char.87 = "C" char.88 = "V" char.89 = "B" char.90 = "N" char.91 = "M" char.92 = "<" char.93 = "." char.94 = "?" char.95 = " " char.96 = " " char.97 = " " char.98 = " " char.99 = " " xmin = 0.75 xmax = 9.00 ymin = 0.75 ymax = 7.50 inc = 0.75 imax = ( xmax - xmin ) / inc + 1 jmax = ( ymax - ymin ) / inc + 1 i = 1 while ( i <= imax ) xloc = ( i - 1 ) * inc + xmin 'draw line 'xloc' 'ymin' 'xloc' 'ymax i = i + 1 endwhile j = 1 while ( j <= jmax ) yloc = ( j - 1 ) * inc + ymin 'draw line 'xmin' 'yloc' 'xmax' 'yloc j = j + 1 endwhile ic = 1 i = 1 while ( i < imax) xloc = ( i - 1 ) * inc + xmin + inc / 2.0 j = 1 while ( j < jmax ) yloc = ( j - 1 ) * inc + ymin + inc / 2.0 'set string 1 c' 'set strsiz 0.2' 'draw string 'xloc' 'yloc' `'fontnum''char.ic j = j + 1 ic = ic + 1 endwhile i = i + 1 endwhile 'draw string 4.5 8.0 GrADS Font number 'fontnum 'print' ------------------------------------------------- Remi Meynadier wrote: > Hi, > I dont know how to draw mathematical symbol (nabla ...) in a title. > Have not find significant answer to my problem on the GRADSUSR archives. > Is it possible ? > > Thanks in advance > > RM > > -- > Remi Meynadier > Service d'a?ronomie > Tour 45, Couloir 45-46, 3e ?tage > Universit? Pierre et Marie Curie > 4 place Jussieu > 75252 Paris C?dex 05 > France > T?l: 33 (0)1 44 27 84 45 > From jbjamali at GMAIL.COM Wed Apr 29 04:53:05 2009 From: jbjamali at GMAIL.COM (javad bodaghjamali) Date: Wed, 29 Apr 2009 12:23:05 +0330 Subject: INSTALL GRADS-2.0a5 on linux(SUSE11.1) Message-ID: Hi, after the procedure of installing grads-2.a5 on linux (SUSE11.1), when I type grads, the followoing messsage will be appeared. error while loading shared libraries:libtercap.so.2: can not open shared object: file:no such file or directory. would you please help me in this regard. what should I do? Thanks in advance and looking forward to your reply. Best Regards Javad BodaghJamali -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090429/1d1df37d/attachment.html From prjayakrishnan at GMAIL.COM Wed Apr 29 06:50:05 2009 From: prjayakrishnan at GMAIL.COM (Jayakrishnan PR) Date: Wed, 29 Apr 2009 16:20:05 +0530 Subject: INSTALL GRADS-2.0a5 on linux(SUSE11.1) In-Reply-To: <4d01d0f10904290153l1f7b64e7od56e15a0f44145c2@mail.gmail.com> Message-ID: Hello, I herewith attach the library file necessary for installation of grads. It should be placed in /lib as previleged user (root). Then change permissions by "chmod 777 libtercap.so.2". Then exit and open grads from a new terminal. On Wed, Apr 29, 2009 at 2:23 PM, javad bodaghjamali wrote: > Hi, > after the procedure of installing grads-2.a5 on linux (SUSE11.1), when I > type grads, the followoing messsage will > be appeared. > > error while loading shared libraries:libtercap.so.2: can not open shared > object: file:no such file or directory. > > would you please help me in this regard. what should I do? > > Thanks in advance and looking forward to your reply. > > Best Regards > > Javad BodaghJamali > -- Sincerely *********************************************** Jayakrishnan.P.R CSIR-Research Fellow Department of Atmospheric Sciences Cochin University of Science and Technology (CUSAT), Cochin-682 016 Kerala, India. Mob: 09895417565 *********************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090429/af51b001/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: libtermcap.so.2 Type: application/octet-stream Size: 11832 bytes Desc: not available Url : http://gradsusr.org/pipermail/gradsusr/attachments/20090429/af51b001/attachment.obj From wharms at BFS.DE Wed Apr 29 07:22:35 2009 From: wharms at BFS.DE (walter harms) Date: Wed, 29 Apr 2009 13:22:35 +0200 Subject: INSTALL GRADS-2.0a5 on linux(SUSE11.1) In-Reply-To: <5b5e360904290350u62a6ff3em4e038943515f1845@mail.gmail.com> Message-ID: Jayakrishnan PR schrieb: > Hello, > I herewith attach the library file necessary for installation of > grads. It should be placed in /lib as previleged user (root). Then change > permissions by "chmod 777 libtercap.so.2". Then exit and open grads from a > new terminal. > > On Wed, Apr 29, 2009 at 2:23 PM, javad bodaghjamali wrote: > please use "chmod 744" to prevent a large security hole according to rpmfind you should have libtermcap in your Suse repository see: http://rpm.pbone.net/index.php3/stat/3/srodzaj/1/search/libtermcap.so.2 re, wh From skimball at USOUTHAL.EDU Wed Apr 29 10:29:46 2009 From: skimball at USOUTHAL.EDU (Sytske Kimball) Date: Wed, 29 Apr 2009 09:29:46 -0500 Subject: University of South Alabama Mesonet - announcement Message-ID: The University of South Alabama Mesonet now operates 14 automated weather stations along the north-central Gulf Coast. Data (real-time and archived) and information are available from our website: http://chiliweb.southalabama.edu/ More stations and a meta-data page will be coming soon. Please check out the website and let us know if you have any suggestions for changes or additions. Please feel free to spread this message amongst colleagues and friends. Sincerely, Sytske Kimball Sytske Kimball Associate Professor of Meteorology Dept. of Earth Sciences University of South Alabama Mobile, AL phone (251) 460-7031 fax (251) 460-7886 email skimball at usouthal.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090429/1deebe1f/attachment.html From bernd.becker at METOFFICE.GOV.UK Wed Apr 29 11:30:19 2009 From: bernd.becker at METOFFICE.GOV.UK (Bernd Becker) Date: Wed, 29 Apr 2009 16:30:19 +0100 Subject: define independant data set Message-ID: Hello, this is an odd question: can one define a data set in grads independent from any external data set? How do you: define x='1 2 3 4 5 6 7 8 9' define y=x*x d y and get an y ver. x line plot ? The background: I compiled event statistics by mask and const, count some numbers at individual grid points, constructed a curve, or at least the vector for it and now I want to plot it. I can draw a line, scaling the numbers to the plot window. That looks really bland. I also like to get appropriate axis and other nice bits. Any ideas how to do that? t = 0 sum = 1 scalex = 6.5/32. scaley = 5.5/1. xstr='' ystr='' linestr='' while ( t <= 32 ) xstr= xstr ' ' t ' ' ystr= ystr ' ' cdf.t ' ' xx = 1 + t* scalex yy = 1 + cdf.t* scaley linestr= linestr' ' xx ', ' yy ', ' t = t + 1 endwhile * plot cdf say linestr 'draw line 'linestr cdf.t are numbers [ 1, 0 ] over 32 steps. -- Bernd Becker The Monthly Outlook Met Office FitzRoy Road Exeter Devon EX1 3PB United Kingdom Tel.: +44 (0) 1392 884511 Fax: +44 (0)870 900 5050 E-mail:bernd.becker at metoffice.com - http://www.metoffice.com From m.jeglum at UTAH.EDU Wed Apr 29 13:05:13 2009 From: m.jeglum at UTAH.EDU (Matt Jeglum) Date: Wed, 29 Apr 2009 19:05:13 +0200 Subject: ERA-Interim and regrid2 v. xdef/ydef Message-ID: I have been using the ERA-Interim dataset, and after running it through grib2ctl I get control files that work, but do not include any sort of PDEF specification. I am ultimately interested in interpolating the 1.5 degree grid on the ERA-Interim to a higher resolution. I have heard of two methods to do this. One is to use the regrid2 function, but since I am computer illiterate and the other option is quite easy, I am avoiding that. It seems possible to change the xdef and ydef specifications in the ctl file to interpolate to the higher resolution to begin with. All you would need to change is the # of grid points and the increment. This has worked for others but not for me, and I suspect it may be due to the lack of PDEF. Is this method legitimate? If so, anyone know the ERA- Interim projection specs for PDEF? From tjtroy at PRINCETON.EDU Wed Apr 29 13:16:12 2009 From: tjtroy at PRINCETON.EDU (Tara J. Troy) Date: Wed, 29 Apr 2009 13:16:12 -0400 Subject: ERA-Interim and regrid2 v. xdef/ydef In-Reply-To: <20090429170618.1CCB720BDA@mx2.cineca.it> Message-ID: You can't do that - the number of grid points tells grads how to read the data. You can imagine if you had one degree data, you would tell it there were 360 points in the x direction. If you still had the same dataset and told it you had 720 points at 0.5 degree resolution, basically what it would do is read rows 1 and 2 and think that it was all data belonging to row 1. You have to regrid the data yourself. Tara Matt Jeglum wrote: > I have been using the ERA-Interim dataset, and after running it through grib2ctl I get control files > that work, but do not include any sort of PDEF specification. I am ultimately interested in > interpolating the 1.5 degree grid on the ERA-Interim to a higher resolution. I have heard of two > methods to do this. One is to use the regrid2 function, but since I am computer illiterate and the > other option is quite easy, I am avoiding that. It seems possible to change the xdef and ydef > specifications in the ctl file to interpolate to the higher resolution to begin with. All you would need > to change is the # of grid points and the increment. This has worked for others but not for me, and I > suspect it may be due to the lack of PDEF. Is this method legitimate? If so, anyone know the ERA- > Interim projection specs for PDEF? > From jbjamali at GMAIL.COM Wed Apr 29 13:18:45 2009 From: jbjamali at GMAIL.COM (javad bodaghjamali) Date: Wed, 29 Apr 2009 20:48:45 +0330 Subject: INSTALL GRADS-2.0a5 on linux(SUSE11.1) In-Reply-To: <5b5e360904290350u62a6ff3em4e038943515f1845@mail.gmail.com> Message-ID: Dear Jayakrishnan.P.R Thank you very much for your quick answer and very helpfull e-mail. I have done it and grads is working. Thanks again regards Sohaila Javanmard On Wed, Apr 29, 2009 at 2:20 PM, Jayakrishnan PR wrote: > Hello, > I herewith attach the library file necessary for installation of > grads. It should be placed in /lib as previleged user (root). Then change > permissions by "chmod 777 libtercap.so.2". Then exit and open grads from a > new terminal. > > On Wed, Apr 29, 2009 at 2:23 PM, javad bodaghjamali wrote: > >> Hi, >> after the procedure of installing grads-2.a5 on linux (SUSE11.1), when I >> type grads, the followoing messsage will >> be appeared. >> >> error while loading shared libraries:libtercap.so.2: can not open shared >> object: file:no such file or directory. >> >> would you please help me in this regard. what should I do? >> >> Thanks in advance and looking forward to your reply. >> >> Best Regards >> >> Javad BodaghJamali >> > > > > -- > Sincerely > *********************************************** > Jayakrishnan.P.R > CSIR-Research Fellow > Department of Atmospheric Sciences > Cochin University of Science and Technology (CUSAT), Cochin-682 016 > Kerala, India. > Mob: 09895417565 > > *********************************************** > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090429/a72cf42e/attachment.html From Charles.Seman at NOAA.GOV Wed Apr 29 13:49:02 2009 From: Charles.Seman at NOAA.GOV (Charles Seman) Date: Wed, 29 Apr 2009 13:49:02 -0400 Subject: define independant data set In-Reply-To: <1241019019.13003.78.camel@eld313.desktop.frd.metoffice.com> Message-ID: Bernd, One idea is to try ftp://grads.iges.org/grads/examples/xyplot.gs which does a plot of "y" vs. "x" Chuck Bernd Becker wrote: > Hello, > > this is an odd question: > > can one define a data set in grads independent from any external data > set? > > How do you: > > define x='1 2 3 4 5 6 7 8 9' > define y=x*x > > d y > > and get an y ver. x line plot ? > > > The background: > > I compiled event statistics by mask and const, > count some numbers at individual grid points, > constructed a curve, or at least the vector for it > and now I want to plot it. > > I can draw a line, scaling the numbers to the plot window. > That looks really bland. > I also like to get appropriate axis and other nice bits. > > Any ideas how to do that? > > t = 0 > sum = 1 > scalex = 6.5/32. > scaley = 5.5/1. > xstr='' > ystr='' > linestr='' > while ( t <= 32 ) > xstr= xstr ' ' t ' ' > ystr= ystr ' ' cdf.t ' ' > > xx = 1 + t* scalex > yy = 1 + cdf.t* scaley > linestr= linestr' ' xx ', ' yy ', ' > > t = t + 1 > endwhile > > * plot cdf > > say linestr > 'draw line 'linestr > > cdf.t are numbers [ 1, 0 ] over 32 steps. > > -- > Bernd Becker The Monthly Outlook > Met Office FitzRoy Road Exeter Devon EX1 3PB United Kingdom > Tel.: +44 (0) 1392 884511 Fax: +44 (0)870 900 5050 > E-mail:bernd.becker at metoffice.com - http://www.metoffice.com > -- Please note that Charles.Seman at noaa.gov should be considered my NOAA email address, not cjs at gfdl.noaa.gov. ******************************************************************** Charles Seman Charles.Seman at noaa.gov U.S. Department of Commerce / NOAA / OAR Geophysical Fluid Dynamics Laboratory voice: (609) 452-6547 201 Forrestal Road fax: (609) 987-5063 Princeton, NJ 08540-6649 http://www.gfdl.noaa.gov/~cjs/ ******************************************************************** "The contents of this message are mine personally and do not necessarily reflect any position of the Government or NOAA." From Michael.Fiorino at NOAA.GOV Wed Apr 29 15:11:42 2009 From: Michael.Fiorino at NOAA.GOV (Michael Fiorino) Date: Wed, 29 Apr 2009 19:11:42 +0000 Subject: ERA-Interim and regrid2 v. xdef/ydef In-Reply-To: <20090429170618.1CCB720BDA@mx2.cineca.it> Message-ID: dear matt, the pdef option is generally used for grids where lat/lon are *not* univariate or the # of points in longitude varies with say latitude (e.g., reduced gaussian grid). it is possible to force grads to treat the uniform 1.5 deg lat/lon grid as preprojected by creating a pdef file with the interpolation coefficients. see: http://grads.iges.org/grads/gadoc/pdef.html#file this is clearly more complicated and NOT easier than using a regridding function. i have to say i'm a bit concerned that a reason you wouldn't want to use regrid2 is because you're 'computer illiterate'. that strikes me as a bit irresponsible; that you would blindly accept the result from an internal grads interpolation? you'll have to do a little work to either get a version of grads with regrid2 already built in; build it yourself; and then understand what the code is actually doing if you want to understand the nature of the regridded era data... for example, if you want to regrid the 1.5 deg era data to higher resolution, then you should use either bilinear or 3rd order bessel interpolation if the field is continuous (e.g., pressure), but for less-continuous fields like precipitation, box averaging would be more appropriate. all these methods are implemented in regrid2, but you have to be careful in which method you use. fortunately, the technical issue of using regrid2 should be less burdensome as i have converted my regrid2 'user defined function' into an opengrads 'user defined extension'. the extension now works in both opengrads 1.10 and opengrads 2.0. the opengrads version is called 're2' and works like the original regrid2 except for a few bugs i found in the original regrid2.f code so that re2 is actually more correct than regrid2.... i'm finishing up some other extensions (e.g., mfhilo - for finding max/min in a 2-d field) and i'm now checking that they work in both opengrads 1.10 and 2.0. i expect to get these into the opengrads distributions 1.10 and 2.0 shortly, but in the meantime re2 is available the opengrads2.0 bundles at: http://sourceforge.net/project/showfiles.php?group_id=161773&package_id=305032 the re2 in these bundles is not 100% the same as the one i'm working now, but the algorithms are correct so that you can use with confidence that it's working the way i intended. hope this helps, but remember it's always important to state precisely which version of grads you're using... regards, mike Matt Jeglum wrote: > I have been using the ERA-Interim dataset, and after running it through grib2ctl I get control files > that work, but do not include any sort of PDEF specification. I am ultimately interested in > interpolating the 1.5 degree grid on the ERA-Interim to a higher resolution. I have heard of two > methods to do this. One is to use the regrid2 function, but since I am computer illiterate and the > other option is quite easy, I am avoiding that. It seems possible to change the xdef and ydef > specifications in the ctl file to interpolate to the higher resolution to begin with. All you would need > to change is the # of grid points and the increment. This has worked for others but not for me, and I > suspect it may be due to the lack of PDEF. Is this method legitimate? If so, anyone know the ERA- > Interim projection specs for PDEF? From remm69 at GMAIL.COM Wed Apr 29 15:30:53 2009 From: remm69 at GMAIL.COM (Rafael Mundaray) Date: Wed, 29 Apr 2009 15:30:53 -0400 Subject: Hello... Problem with a script... Message-ID: Hello every body... I have problems with a script that I have been making... This script obtain the acummulated precipitation of one day with mm5... I need those precipitation in a .txt file... Whell I made this script but when I run it with grads this show me following error: * ga-> /home/mm5i/Desktop/prec_REAL_MM5.gs Unable to locate ENDWHILE statement for the WHILE statement at line 131 In file /home/mm5i/Desktop/prec_REAL_MM5.gs ga->* I added the script in this mail... Thanks...!!! -- Ing. Rafael E. Mundaray M. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090429/00f3b320/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: prec_REAL_MM5.gs Type: application/octet-stream Size: 5227 bytes Desc: not available Url : http://gradsusr.org/pipermail/gradsusr/attachments/20090429/00f3b320/attachment.obj From smcmillan at PLANALYTICS.COM Wed Apr 29 16:03:32 2009 From: smcmillan at PLANALYTICS.COM (Stephen R McMillan) Date: Wed, 29 Apr 2009 15:03:32 -0500 Subject: Hello... Problem with a script... In-Reply-To: <1f59b3870904291230i6c067989pa1d5b83d8a1b5874@mail.gmail.com> Message-ID: Rafael, You need a carriage return/end of line character after your last line. Stephen McMillan Rafael Mundaray Sent by: GRADSUSR at LIST.CINECA.IT 04/29/2009 02:30 PM Please respond to GRADSUSR at LIST.CINECA.IT To GRADSUSR at LIST.CINECA.IT cc Subject Hello... Problem with a script... Hello every body... I have problems with a script that I have been making... This script obtain the acummulated precipitation of one day with mm5... I need those precipitation in a .txt file... Whell I made this script but when I run it with grads this show me following error: ga-> /home/mm5i/Desktop/prec_REAL_MM5.gs Unable to locate ENDWHILE statement for the WHILE statement at line 131 In file /home/mm5i/Desktop/prec_REAL_MM5.gs ga-> I added the script in this mail... Thanks...!!! -- Ing. Rafael E. Mundaray M. [attachment "prec_REAL_MM5.gs" deleted by Stephen R. McMillan/Planalytics] *************************************************** The information contained in this e-mail message is intended only for the use of the recipient(s) named above and may contain information that is privileged, confidential, and/or proprietary. If you are not the intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the sender immediately by e-mail, and delete the original message. *************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090429/a1399586/attachment.html From remm69 at GMAIL.COM Wed Apr 29 16:25:03 2009 From: remm69 at GMAIL.COM (Rafael Mundaray) Date: Wed, 29 Apr 2009 16:25:03 -0400 Subject: Hello... Problem with a script... In-Reply-To: Message-ID: Thanks... I will... 2009/4/29 Stephen R McMillan > Rafael, > You need a carriage return/end of line character after your last line. > Stephen McMillan > > > *Rafael Mundaray * > Sent by: GRADSUSR at LIST.CINECA.IT > > 04/29/2009 02:30 PM > Please respond to > GRADSUSR at LIST.CINECA.IT > > To > GRADSUSR at LIST.CINECA.ITcc > Subject > Hello... Problem with a script... > > > > Hello every body... I have problems with a script that I have been > making... This script obtain the acummulated precipitation of one day with > mm5... I need those precipitation in a .txt file... Whell I made this script > but when I run it with grads this show me following error: > > *ga-> /home/mm5i/Desktop/prec_REAL_MM5.gs* > *Unable to locate ENDWHILE statement for the WHILE statement at line 131* > * In file /home/mm5i/Desktop/prec_REAL_MM5.gs* > *ga->* > > I added the script in this mail... > Thanks...!!! > > -- > Ing. Rafael E. Mundaray M. > [attachment "prec_REAL_MM5.gs" deleted by Stephen R. McMillan/Planalytics] > > > *************************************************** > The information contained in this e-mail message is intended only for the > use of the recipient(s) named above and may contain information that is > privileged, confidential, and/or proprietary. If you are not the intended > recipient, you may not review, copy or distribute this message. If you have > received this communication in error, please notify the sender immediately > by e-mail, and delete the original message. > *************************************************** > -- Ing. Rafael E. Mundaray M. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090429/d3a5e148/attachment.html From itesh.dash at GMAIL.COM Wed Apr 29 23:12:42 2009 From: itesh.dash at GMAIL.COM (itesh dash) Date: Thu, 30 Apr 2009 10:12:42 +0700 Subject: Querry Message-ID: I have a querry regarding the qulaity of the files GrADS generated. I use gxeps and epstopdf commands to make the pdf files. but. the qulaity of the pdf file genetared is very bad. It's always generating the file with some white lines in the color field. Is there a solution to it. Can there be some specific command or anything to avoid those white lines. is it a pixel problem? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090430/c43988a4/attachment.html From bernd.becker at METOFFICE.GOV.UK Thu Apr 30 08:24:32 2009 From: bernd.becker at METOFFICE.GOV.UK (Bernd Becker) Date: Thu, 30 Apr 2009 13:24:32 +0100 Subject: define independant data set In-Reply-To: <49F8930E.1000300@noaa.gov> Message-ID: Chuck, thanks very much. After some cannibalisation of the original script I got something quite acceptable. Bernd. On Wed, 2009-04-29 at 13:49 -0400, Charles Seman wrote: > Bernd, > > One idea is to try ftp://grads.iges.org/grads/examples/xyplot.gs > which does a plot of "y" vs. "x" > > Chuck > > Bernd Becker wrote: > > Hello, > > > > this is an odd question: > > > > can one define a data set in grads independent from any external data > > set? > > > > How do you: > > > > define x='1 2 3 4 5 6 7 8 9' > > define y=x*x > > > > d y > > > > and get an y ver. x line plot ? > > > > > > The background: > > > > I compiled event statistics by mask and const, > > count some numbers at individual grid points, > > constructed a curve, or at least the vector for it > > and now I want to plot it. > > > > I can draw a line, scaling the numbers to the plot window. > > That looks really bland. > > I also like to get appropriate axis and other nice bits. > > > > Any ideas how to do that? > > > > t = 0 > > sum = 1 > > scalex = 6.5/32. > > scaley = 5.5/1. > > xstr='' > > ystr='' > > linestr='' > > while ( t <= 32 ) > > xstr= xstr ' ' t ' ' > > ystr= ystr ' ' cdf.t ' ' > > > > xx = 1 + t* scalex > > yy = 1 + cdf.t* scaley > > linestr= linestr' ' xx ', ' yy ', ' > > > > t = t + 1 > > endwhile > > > > * plot cdf > > > > say linestr > > 'draw line 'linestr > > > > cdf.t are numbers [ 1, 0 ] over 32 steps. > > > > -- > > Bernd Becker The Monthly Outlook > > Met Office FitzRoy Road Exeter Devon EX1 3PB United Kingdom > > Tel.: +44 (0) 1392 884511 Fax: +44 (0)870 900 5050 > > E-mail:bernd.becker at metoffice.com - http://www.metoffice.com > > > > -- > > Please note that Charles.Seman at noaa.gov should be considered my NOAA > email address, not cjs at gfdl.noaa.gov. > > ******************************************************************** > Charles Seman Charles.Seman at noaa.gov > U.S. Department of Commerce / NOAA / OAR > Geophysical Fluid Dynamics Laboratory voice: (609) 452-6547 > 201 Forrestal Road fax: (609) 987-5063 > Princeton, NJ 08540-6649 http://www.gfdl.noaa.gov/~cjs/ > ******************************************************************** > > "The contents of this message are mine personally and do not necessarily > reflect any position of the Government or NOAA." -- Bernd Becker The Monthly Outlook Met Office FitzRoy Road Exeter Devon EX1 3PB United Kingdom Tel.: +44 (0) 1392 884511 Fax: +44 (0)870 900 5050 E-mail:bernd.becker at metoffice.com - http://www.metoffice.com From furue at HAWAII.EDU Thu Apr 30 14:59:20 2009 From: furue at HAWAII.EDU (Ryo Furue) Date: Thu, 30 Apr 2009 08:59:20 -1000 Subject: Querry In-Reply-To: Message-ID: Hi, | I have a querry regarding the qulaity of the files GrADS | generated. I use gxeps and epstopdf commands to make the pdf files. | but. the qulaity of the pdf file genetared is very bad. | | It's always generating the file with some white lines in the color | field. Is there a solution to it. Can there be some specific command | or anything to avoid those white lines. is it a pixel problem? The white lines are displayed only on the computer screen. If you print it out, you won't see them. The white lines are an artifact of the way your PDF-viewer renders the PDF file on your screen. Very often, PDF viewers use the "anti-aliasing" technique to smooth the edges of shapes, which generates the white lines because each color-shaded area of GrADS is actually a collection of smaller polygons. So, if you need a clean-looking plot on your screen, you want to turn off the "anti alias" option of your viewer. If you use the latest version of Adobe Reader (version 9) for example, the option is "Edit" > "Preferences" > "Page Display" > "Smooth line art" I guess other viewers have similar options. Regards, Ryo From arlindo.dasilva at GMAIL.COM Thu Apr 30 15:36:31 2009 From: arlindo.dasilva at GMAIL.COM (Arlindo da Silva) Date: Thu, 30 Apr 2009 15:36:31 -0400 Subject: Querry In-Reply-To: Message-ID: On Wed, Apr 29, 2009 at 11:12 PM, itesh dash wrote: > I have a querry regarding the qulaity of the files GrADS generated. I use > gxeps and epstopdf commands to make the pdf files. but. the qulaity of the > pdf file genetared is very bad. > > It's always generating the file with some white lines in the color field. > Is there a solution to it. Can there be some specific command or anything to > avoid those white lines. is it a pixel problem? > As Ryo pointed out, turning off anti-aliasing removes those lines, but the font quality degrades. For PS/PDF files this is not a problem when you produce a hardcopy. When creating images the opengrads extension gxyat has anti-aliased fonts and no "funny lines", ga-> gxyat myfile.png or from the command line on an existing metafile: % gxyat myfile.gmf Arlindo -- Arlindo da Silva dasilva at alum.mit.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090430/f03840a7/attachment.html From mhess at OCEANI.COM Thu Apr 30 18:27:44 2009 From: mhess at OCEANI.COM (Mark Hess) Date: Thu, 30 Apr 2009 16:27:44 -0600 Subject: Using GrADS to retrieve HYCOM data In-Reply-To: Message-ID: Has anyone out there used GrADS to retrieve and display data from the HYCOM OPeNDAP near real-time data server http://hycom.coaps.fsu.edu/thredds/dodsC/glb_nrt_analysis.html? I am hoping to use GrADS to retrieve mixed layer depth data from this server, but not real clear on the http/OPeNDAP string I would use to download the file (whether it be ASCII or binary). If you have done this and could send a sample script or command showing the http line that would be much appreciated. Thanks, Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090430/66c4b822/attachment.html From jimp at HAWAII.EDU Thu Apr 30 20:08:42 2009 From: jimp at HAWAII.EDU (James T. Potemra) Date: Thu, 30 Apr 2009 14:08:42 -1000 Subject: Using GrADS to retrieve HYCOM data In-Reply-To: <89820B016571404EA755EE83F53BD13E@sailfish> Message-ID: Hi Mark: You should just be able to use the OPeNDAP enabled GrADS binary (e.g., gradsdods), then 'sdfopen http://hycom.coaps.fsu.edu:8080/thredds/dodsC/glb_nrt_analysis' However, I tried this with grads-1.9.0-rc1 (gradsdods) and get the error that the data set has no discernable X coordinate. This is a problem that needs to be solved on the server side as far as I know. Interestingly, I tried grads-2.0.a5.oga.4 (grads) and got a whole stream of error messsages (see below) followed by GrADS exiting. Both versions work well on more "well-behaved" OPeNDAP data sets. Jim ---------------------------------------------------------------------------------------------------------------------- For additional information enter "grads --help". Starting "/usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads -l " ... Grid Analysis and Display System (GrADS) Version 2.0.a5.oga.4 Copyright (c) 1988-2008 by Brian Doty and the Institute for Global Environment and Society (IGES) GrADS comes with ABSOLUTELY NO WARRANTY See file COPYRIGHT for more information Config: v2.0.a5.oga.4 little-endian readline printim grib2 netcdf hdf4-sds opendap-grids,stn athena geotiff Issue 'q config' command for more information. Loading User Defined Extensions table ... ok. GX Package Initialization: Size = 11 8.5 ga-> sdfopen http://hycom.coaps.fsu.edu:8080/thredds/dodsC/glb_nrt_analysis Scanning self-describing file: http://hycom.coaps.fsu.edu:8080/thredds/dodsC/glb_nrt_analysis *** glibc detected *** /usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads: munmap_chunk(): invalid pointer: 0x00000000046843c0 *** ======= Backtrace: ========= /lib64/libc.so.6(cfree+0x1b6)[0x3bf3075a36] /usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads(_Z15convert_nc_type7nc_typeiiPvS0_+0x2ca)[0x7fa5ca] /usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads(_ZN7NCArray14extract_valuesEPviiRK12ClientParams+0x2e9)[0x82cde5] /usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads(_Z8DODvarioiiPKmS0_PKlPvi+0xc6e)[0x7fceca] /usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads(nc3_get_vara_double+0x9e)[0x807798] /usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads(nc_get_vara_double+0x1a)[0x6050aa] /usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads(sdfdeflev+0x420)[0x53e358] /usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads(gadsdf+0x44b)[0x538325] /usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads(gasdfopen+0x1d4)[0x537d30] /usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads(gacmd+0xf4d)[0x51e2ef] /usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads(Main+0x4c9)[0x496c39] /usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads(main+0x2e)[0x496766] /lib64/libc.so.6(__libc_start_main+0xf4)[0x3bf301d974] /usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads(__gxx_personality_v0+0x1a9)[0x4966a9] ======= Memory map: ======== 00400000-00cc0000 r-xp 00000000 fd:00 43941935 /usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads 00dbf000-00de1000 rwxp 008bf000 fd:00 43941935 /usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/grads 00de1000-01097000 rwxp 00de1000 00:00 0 0457e000-0468f000 rwxp 0457e000 00:00 0 [heap] 3bf1e00000-3bf1e1c000 r-xp 00000000 fd:00 4063234 /lib64/ld-2.5.so 3bf201b000-3bf201c000 r-xp 0001b000 fd:00 4063234 /lib64/ld-2.5.so 3bf201c000-3bf201d000 rwxp 0001c000 fd:00 4063234 /lib64/ld-2.5.so 3bf2200000-3bf2217000 r-xp 00000000 fd:00 42144845 /usr/lib64/libXmu.so.6.2.0 3bf2217000-3bf2416000 ---p 00017000 fd:00 42144845 /usr/lib64/libXmu.so.6.2.0 3bf2416000-3bf2418000 rwxp 00016000 fd:00 42144845 /usr/lib64/libXmu.so.6.2.0 3bf2600000-3bf2610000 r-xp 00000000 fd:00 42157621 /usr/lib64/libXpm.so.4.11.0 3bf2610000-3bf2810000 ---p 00010000 fd:00 42157621 /usr/lib64/libXpm.so.4.11.0 3bf2810000-3bf2811000 rwxp 00010000 fd:00 42157621 /usr/lib64/libXpm.so.4.11.0 3bf3000000-3bf314c000 r-xp 00000000 fd:00 4063235 /lib64/libc-2.5.so 3bf314c000-3bf334c000 ---p 0014c000 fd:00 4063235 /lib64/libc-2.5.so 3bf334c000-3bf3350000 r-xp 0014c000 fd:00 4063235 /lib64/libc-2.5.so 3bf3350000-3bf3351000 rwxp 00150000 fd:00 4063235 /lib64/libc-2.5.so 3bf3351000-3bf3356000 rwxp 3bf3351000 00:00 0 3bf3400000-3bf3482000 r-xp 00000000 fd:00 4063243 /lib64/libm-2.5.so 3bf3482000-3bf3681000 ---p 00082000 fd:00 4063243 /lib64/libm-2.5.so 3bf3681000-3bf3682000 r-xp 00081000 fd:00 4063243 /lib64/libm-2.5.so 3bf3682000-3bf3683000 rwxp 00082000 fd:00 4063243 /lib64/libm-2.5.so 3bf3800000-3bf3802000 r-xp 00000000 fd:00 4063247 /lib64/libdl-2.5.so 3bf3802000-3bf3a02000 ---p 00002000 fd:00 4063247 /lib64/libdl-2.5.so 3bf3a02000-3bf3a03000 r-xp 00002000 fd:00 4063247 /lib64/libdl-2.5.so 3bf3a03000-3bf3a04000 rwxp 00003000 fd:00 4063247 /lib64/libdl-2.5.so 3bf3c00000-3bf3c16000 r-xp 00000000 fd:00 4063255 /lib64/libpthread-2.5.so 3bf3c16000-3bf3e15000 ---p 00016000 fd:00 4063255 /lib64/libpthread-2.5.so 3bf3e15000-3bf3e16000 r-xp 00015000 fd:00 4063255 /lib64/libpthread-2.5.so 3bf3e16000-3bf3e17000 rwxp 00016000 fd:00 4063255 /lib64/libpthread-2.5.so 3bf3e17000-3bf3e1b000 rwxp 3bf3e17000 00:00 0 3bf4400000-3bf4405000 r-xp 00000000 fd:00 42151828 /usr/lib64/libXdmcp.so.6.0.0 3bf4405000-3bf4604000 ---p 00005000 fd:00 42151828 /usr/lib64/libXdmcp.so.6.0.0 3bf4604000-3bf4605000 rwxp 00004000 fd:00 42151828 /usr/lib64/libXdmcp.so.6.0.0 3bf4800000-3bf4802000 r-xp 00000000 fd:00 42150931 /usr/lib64/libXau.so.6.0.0 3bf4802000-3bf4a01000 ---p 00002000 fd:00 42150931 /usr/lib64/libXau.so.6.0.0 3bf4a01000-3bf4a02000 rwxp 00001000 fd:00 42150931 /usr/lib64/libXau.so.6.0.0 3bf4c00000-3bf4d05000 r-xp 00000000 fd:00 42151901 /usr/lib64/libX11.so.6.2.0 3bf4d05000-3bf4f05000 ---p 00105000 fd:00 42151901 /usr/lib64/libX11.so.6.2.0 3bf4f05000-3bf4f0c000 rwxp 00105000 fd:00 42151901 /usr/lib64/libX11.so.6.2.0 3bf5000000-3bf5010000 r-xp 00000000 fd:00 42152563 /usr/lib64/libXext.so.6.4.0 3bf5010000-3bf5210000 ---p 00010000 fd:00 42152563 /usr/lib64/libXext.so.6.4.0 3bf5210000-3bf5211000 rwxp 00010000 fd:00 42152563 /usr/lib64/libXext.so.6.4.0 3bf6400000-3bf6409000 r-xp 00000000 fd:00 42151902 /usr/lib64/libXrender.so.1.3.0 3bf6409000-3bf6608000 ---p 00009000 fd:00 42151902 /usr/lib64/libXrender.so.1.3.0 3bf6608000-3bf6609000 rwxp 00008000 fd:00 42151902 /usr/lib64/libXrender.so.1.3.0 3bf6800000-3bf6805000 r-xp 00000000 fd:00 42152700 /usr/lib64/libXfixes.so.3.1.0 3bf6805000-3bf6a04000 ---p 00005000 fd:00 42152700 /usr/lib64/libXfixes.so.3.1.0 3bf6a04000-3bf6a05000 rwxp 00004000 fd:00 42152700 /usr/lib64/libXfixes.so.3.1.0 3bf7000000-3bf700a000 r-xp 00000000 fd:00 42153120 /usr/lib64/libXcursor.so.1.0.2 3bf700a000-3bf7209000 ---p 0000a000 fd:00 42153120 /usr/lib64/libXcursor.so.1.0.2 3bf7209000-3bf720a000 rwxp 00009000 fd:00 42153120 /usr/lib64/libXcursor.so.1.0.2 3bf8800000-3bf8817000 r-xp 00000000 fd:00 42154143 /usr/lib64/libICE.so.6.3.0 3bf8817000-3bf8a16000 ---p 00017000 fd:00 42154143 /usr/lib64/libICE.so.6.3.0 3bf8a16000-3bf8a18000 rwxp 00016000 fd:00 42154143 /usr/lib64/libICE.so.6.3.0 3bf8a18000-3bf8a1b000 rwxp 3bf8a18000 00:00 0 3bf8c00000-3bf8c0d000 r-xp 00000000 fd:00 4063256 /lib64/libgcc_s-4.1.2-20080825.so.1 3bf8c0d000-3bf8e0d000 ---p 0000d000 fd:00 4063256 /lib64/libgcc_s-4.1.2-20080825.so.1 3bf8e0d000-3bf8e0e000 rwxp 0000d000 fd:00 4063256 /lib64/libgcc_s-4.1.2-20080825.so.1 3bf9000000-3bf9009000 r-xp 00000000 fd:00 42154166 /usr/lib64/libSM.so.6.0.0 3bf9009000-3bf9209000 ---p 00009000 fd:00 42154166 /usr/lib64/libSM.so.6.0.0 3bf9209000-3bf920a000 rwxp 00009000 fd:00 42154166 /usr/lib64/libSM.so.6.0.0 3bf9800000-3bf98e6000 r-xp 00000000 fd:00 42154905 /usr/lib64/libstdc++.so.6.0.8 3bf98e6000-3bf9ae5000 ---p 000e6000 fd:00 42154905 /usr/lib64/libstdc++.so.6.0.8 3bf9ae5000-3bf9aeb000 r-xp 000e5000 fd:00 42154905 /usr/lib64/libstdc++.so.6.0.8 3bf9aeb000-3bf9aee000 rwxp 000eb000 fd:00 42154905 /usr/lib64/libstdc++.so.6.0.8 3bf9aee000-3bf9b00000 rwxp 3bf9aee000 00:00 0 3bfd200000-3bfd215000 r-xp 00000000 fd:00 4063453 /lib64/libnsl-2.5.so 3bfd215000-3bfd414000 ---p 00015000 fd:00 4063453 /lib64/libnsl-2.5.so 3bfd414000-3bfd415000 r-xp 00014000 fd:00 4063453 /lib64/libnsl-2.5.so 3bfd415000-3bfd416000 rwxp 00015000 fd:00 4063453 /lib64/libnsl-2.5.so 3bfd416000-3bfd418000 rwxp 3bfd416000 00:00 0 3c07600000-3c0765b000 r-xp 00000000 fd:00 42149042 /usr/lib64/libXt.so.6.0.0 3c0765b000-3c0785a000 ---p 0005b000 fd:00 42149042 /usr/lib64/libXt.so.6.0.0 3c0785a000-3c07860000 rwxp 0005a000 fd:00 42149042 /usr/lib64/libXt.so.6.0.0 3c07860000-3c07861000 rwxp 3c07860000 00:00 0 2b8c9e796000-2b8c9e798000 rwxp 2b8c9e796000 00:00 0 2b8c9e798000-2b8c9e7fc000 r-xp 00000000 fd:00 43941979 /usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/gex/libXaw.so.8 2b8c9e7fc000-2b8c9e8fb000 ---p 00064000 fd:00 43941979 /usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/gex/libXaw.so.8 2b8c9e8fb000-2b8c9e906000 rwxp 00063000 fd:00 43941979 /usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/gex/libXaw.so.8 2b8c9e906000-2b8c9e909000 rwxp 2b8c9e906000 00:00 0 2b8c9e931000-2b8c9e932000 rwxp 2b8c9e931000 00:00 0 2b8c9e932000-2b8c9eb97000 r-xp 00000000 fd:00 43941980 /usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/gex/libimf.so 2b8c9eb97000-2b8c9ec96000 ---p 00265000 fd:00 43941980 /usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/gex/libimf.so 2b8c9ec96000-2b8c9ec9a000 rwxp 00264000 fd:00 43941980 /usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/gex/libimf.so 2b8c9ec9a000-2b8c9ec9b000 rwxp 2b8c9ec9a000 00:00 0 2b8c9ec9b000-2b8c9ec9c000 r-xp 00000000 fd:00 43941981 /usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/gex/libcxaguard.so.5 2b8c9ec9c000-2b8c9ed9b000 ---p 00001000 fd:00 43941981 /usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/gex/libcxaguard.so.5 2b8c9ed9b000-2b8c9ed9c000 rwxp 00000000 fd:00 43941981 /usr/local/grads-2.0.a5.oga.4/Contents/Linux/Versions/2.0.a5.oga.4/x86_64/gex/libcxaguard.so.5 2b8c9ed9c000-2b8c9ed9d000 rwxp 2b8c9ed9c000 00:00 0 2b8c9ed9d000-2b8c9eda5000 r-xp 00000000 fd:00 42158918 /usr/lib64/libXp.so.6.2.0 2b8c9eda5000-2b8c9efa4000 ---p 00008000 fd:00 42158918 /usr/lib64/libXp.so.6.2.0 2b8c9efa4000-2b8c9efa5000 rwxp 00007000 fd:00 42158918 /usr/lib64/libXp.so.6.2.0 2b8c9efa5000-2b8c9f191000 rwxp 2b8c9efa5000 00:00 0 2b8c9f191000-2b8ca2760000 r-xp 00000000 fd:00 42151798 /usr/lib/locale/locale-archive 2b8ca2760000-2b8ca2767000 r-xs 00000000 fd:00 42205728 /usr/lib64/gconv/gconv-modules.cache 2b8ca2791000-2b8ca279b000 r-xp 00000000 fd:00 4063474 /lib64/libnss_files-2.5.so 2b8ca279b000-2b8ca299a000 ---p 0000a000 fd:00 4063474 /lib64/libnss_files-2.5.so 2b8ca299a000-2b8ca299b000 r-xp 00009000 fd:00 4063474 /lib64/libnss_files-2.5.so 2b8ca299b000-2b8ca299c000 rwxp 0000a000 fd:00 4063474 /lib64/libnss_files-2.5.so 2b8ca299c000-2b8ca29a5000 r-xp 00000000 fd:00 4063261 /lib64/libnss_nis-2.5.so 2b8ca29a5000-2b8ca2ba5000 ---p 00009000 fd:00 4063261 /lib64/libnss_nis-2.5.so 2b8ca2ba5000-2b8ca2ba6000 r-xp 00009000 fd:00 4063261 /lib64/libnss_nis-2.5.so 2b8ca2ba6000-2b8ca2ba7000 rwxp 0000a000 fd:00 4063261 /lib64/libnss_nis-2.5.so 7fff0c2fd000-7fff0c313000 rwxp 7ffffffe9000 00:00 0 [stack] ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0 [vdso] Mark Hess wrote: > Has anyone out there used GrADS to retrieve and display data from the > HYCOM OPeNDAP near real-time data server > http://hycom.coaps.fsu.edu/thredds/dodsC/glb_nrt_analysis.html? > > I am hoping to use GrADS to retrieve mixed layer depth data from this > server, but not real clear on the http/OPeNDAP string I would use to > download the file (whether it be ASCII or binary). If you have done > this and could send a sample script or command showing the http > line that would be much appreciated. > > Thanks, > > Mark > From Dan_Martin at BUOYWEATHER.COM Thu Apr 30 21:40:06 2009 From: Dan_Martin at BUOYWEATHER.COM (Dan Martin) Date: Thu, 30 Apr 2009 18:40:06 -0700 Subject: Using GrADS to retrieve HYCOM data In-Reply-To: <89820B016571404EA755EE83F53BD13E@sailfish> Message-ID: The full HYCOM data is on a curvilinear grid that I haven't been able to make work in grads. They set up a linear grid for grads users by cutting off pre-gridded section above 48 degrees north. http://hycom.coaps.fsu.edu/opendap/nph-dods/datasets/hycom/global/GLBa0.08_rect/data/ The update schedule is a bit irregular and the server is not alway up, but nice data when it is there. If anyone has the curvilinear grid version working in grads, any tips would be nice. Dan Mark Hess wrote: > Has anyone out there used GrADS to retrieve and display data from the > HYCOM OPeNDAP near real-time data server > http://hycom.coaps.fsu.edu/thredds/dodsC/glb_nrt_analysis.html? > > I am hoping to use GrADS to retrieve mixed layer depth data from this > server, but not real clear on the http/OPeNDAP string I would use to > download the file (whether it be ASCII or binary). If you have done > this and could send a sample script or command showing the http > line that would be much appreciated. > > Thanks, > > Mark >