Dear members,
I need to print few arrays in a tabular form for example below
array IL has 25 elements, is there an easy way to print this as 5x5 comma
separated table? in python
IL=[]
for i in np.arange(1,bno+1):
IL.append(i)
print(IL)
%
Dear members,
I have been using python NetcdF for some time. I understand
that we can get variables from a netcdf one by one by using
temp=ncf.variable['temp'][:]
but is there a way to get a list of variables with out the rest of the stuff
as seen below?
some hing like a list
Thank you very much it works for me.
with best regards,
Sudheer
On Saturday, June 1, 2013 12:51:01 PM UTC+5:30, Andreas Perstinger wrote:
> On 01.06.2013 05:30, Sudheer Joseph wrote:
>
> > some hing like a list
>
> > xx=nc,variables[:]
>
> > should get me all
Dear Members,
Is there a way to get the time:origin attribute from a netcdf
file as string using the Python netcdf?
with best regards,
Sudheer
--
http://mail.python.org/mailman/listinfo/python-list
Thank you very much Jason
With best regards
Sudheer
On Thursday, June 6, 2013, Jason Swails wrote:
>
>
>
> On Wed, Jun 5, 2013 at 9:07 PM, Sudheer Joseph
>
> > wrote:
>
>> Dear Members,
>> Is there a way to get the time:origin attribute f
Hi,
I need to write a binary file exactly as written by fortran code below
to be read by another code which is part of a model which is not advisable to
edit.I would like to use python for this purpose as python has mode flexibility
and easy coding methods.
character(40) :: TITLE="
n 14 November 2013 00:53, Sudheer Joseph wrote:
> > My trial code with Python (data is read from file here)
> >
> > from netCDF4 import Dataset as nc
> > import numpy as np
> > XFIN=0.0,YFIN=-90.0,NREC=1461,DXIN=0.5;DYIN=0.5
> > TITLE="NCMRWF
Hi,
I have a masked array like in the attached link, I wanted to find
indices of the bounds where the mask is false ie in this case of depth file
where there is depth less than shore. Is there a pythonic way of finding the
boundary indices? please advice?
https://drive.google.com/file
e.
So what is the standard way to update the function for further tests after an
edit?
with best regards,
Sudheer
*******
Sudheer Joseph
Indian National Centre for Ocean Information Services
Ministry of Earth Sciences, Govt. of India
POST
some solution will be
evolved.
with best regards,
Sudheer
>
> From: dieter
>To: python-list@python.org
>Sent: Monday, 19 August 2013 11:48 AM
>Subject: Re: refresing the edited python function
>
>
>Sudheer Joseph writes:
>
>&
- Original Message -
> From: Dave Angel
> To: python-list@python.org
> Cc:
> Sent: Monday, 19 August 2013 4:45 PM
> Subject: Re: refresing the edited python function
>
> Sudheer Joseph wrote:
>
>> Thank you Dieter,
>> I never
Thank you,
But I wish if there was a foolproof reload
with best regards,
Sudheer
- Original Message -
> From: Jean-Michel Pichavant
> To: Sudheer Joseph
> Cc: python-list@python.org
> Sent: Tuesday, 20 August 2013 10:07 PM
> Subject: Re: refresing th
HI,
I have been trying to compute cross correlation between a time series
at a location f(1) and the timeseries of spatial data f(XYT) and saving the
resulting correlation coefficients and lags in a 3 dimensional array which is
of fairly big size. Though the code I made for this purpose
> Python version and OS please. And is the Python 32bit or 64bit? How
>
> much RAM does the computer have, and how big are the swapfiles ?
>
Python 2.7.3
ubuntu 12.04 64 bit
4GB RAM
>
> "Fairly big" is fairly vague. To some people, a list with 100k members
>
> is huge, but not to a modern
14 matches
Mail list logo