User Profile

Collapse

Profile Sidebar

Collapse
blackdevil
blackdevil
Last Activity: May 13 '11, 04:10 AM
Joined: Mar 23 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Thanks a lot for the both answers!
    I will try some possibilities and post the results
    See more | Go to post

    Leave a comment:


  • blackdevil
    started a topic speed up data extraction from large arrays

    speed up data extraction from large arrays

    hi,

    I have three arrays with variable values from a netCDF file. xy contains the vectors for the lon and lat coordinates. I am extracting the coordinates out of the two arrays (lon, lat) according to the vectors in the xy array. So far, I get the correct results, but the speed of the extraction process (for-loop) is extremely poor!!

    Here's my code:

    Code:
    from netCDF4 import Dataset
    import scipy
    ...
    See more | Go to post
No activity results to display
Show More
Working...