Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #68904
| Date | 2014-03-24 13:37 -0700 |
|---|---|
| From | Gary Herron <gary.herron@islandtraining.com> |
| Subject | Re: Memory error |
| References | <d4489c2b-6650-45b6-bcb0-7a1b648192d2@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.8466.1395693999.18130.python-list@python.org> (permalink) |
On 03/24/2014 04:32 AM, Jamie Mitchell wrote:
> Hello all,
>
> I'm afraid I am new to all this so bear with me...
>
> I am looking to find the statistical significance between two large netCDF data sets.
>
> Firstly I've loaded the two files into python:
>
> swh=netCDF4.Dataset('/data/cr1/jmitchel/Q0/swh/controlperiod/averages/swh_control_concat.nc', 'r')
>
> swh_2050s=netCDF4.Dataset('/data/cr1/jmitchel/Q0/swh/2050s/averages/swh_2050s_concat.nc', 'r')
>
> I have then isolated the variables I want to perform the pearson correlation on:
>
> hs=swh.variables['hs']
>
> hs_2050s=swh_2050s.variables['hs']
This is not really a Python question. It's a question about netCDF
(whatever that may be), or perhaps it's interface to Python python-netCD4.
You may get an answer here, but you are far more likely to get one
quickly and accurately from a forum dedicated to netCDF, or python-netCD.
Good luck.
Gary Herron
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Memory error Jamie Mitchell <jamiemitchell1604@gmail.com> - 2014-03-24 04:32 -0700 Re: Memory error Jamie Mitchell <jamiemitchell1604@gmail.com> - 2014-03-24 04:39 -0700 Re: Memory error Gary Herron <gary.herron@islandtraining.com> - 2014-03-24 13:37 -0700 Re: Memory error dieter <dieter@handshake.de> - 2014-03-25 08:53 +0100
csiph-web