On Sat, Nov 16, 2013 at 7:04 AM, Joao Rafael Dias Pinto <
joa...@ia...> wrote:
> Dear all,
>
> I am using pygrads to make the "comunication" between python and GrADS but
> I am having problem with the function import.
>
What kind of problems?
> I have geopotential filtered data (ntimes, nlatitudes, nlongitudes) that I
> computed by using a python code, but I am having problems to import these
> data to GrADS.
>
I believe you can only import 2D fields (ntimes=1), sorry.
Arlindo
> Since
> I am not totally familiar with python, I dont understand very much how to
> specify correctly the parameters of imp. function. It is said that:
>
> #........................................................................
>
> def imp ( self, name, Field ):
> """
> Sends a GrADS Field containing a NumPy array and associated
> grid information to GrADS, defining it in GrADS as *name*.
> Notice that *Field* can be an instance of the GaField
> class or a tuple with the (Array,Grid) components.
>
>
> I believe my problems are the Field and name parameters. Does anyone know
> to use this function?
>
> Thanks in advance,
>
> João
>
> Department of Atmospheric Sciences,
> University of São Paulo - Brazil
>
>
>
>
> ------------------------------------------------------------------------------
> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> Free app hosting. Or install the open source package on any LAMP server.
> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
> _______________________________________________
> Opengrads-devel mailing list
> Ope...@li...
> https://lists.sourceforge.net/lists/listinfo/opengrads-devel
>
>
--
Arlindo da Silva
*da...@al... <da...@al...>*
|