Ignore:
Timestamp:
Apr 15, 2013, 4:47:46 PM (12 years ago)
Author:
aslmd
Message:

UTIL PYTHON. planetoplot_v2. no squeeze in self.allfield, this is causing problems with differing time axis lengths. this feature will be improved in the future. also forgot to report in previous commit the addition of exapi.py to easily interpolate mesoscale fields using api_wrapper.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UTIL/PYTHON/planetoplot_v2/examples/easy_get_field.py

    r930 r931  
    2929# - field dimensions
    3030# -----------------------------
    31 # ALL DIM == 1 HAVE BEEN SQUEEZED
    32 # -----------------------------
    3331
    34 # for instance here, shape of allfield is (3,2)
    35 # because the user requested 3 files, 2 vars, 0D values
    3632
    37 tsurf = test.allfield[:,0]
    38 asr = test.allfield[:,1]
     33for ii in range(test.nfin):
     34    print "tsurf",test.allfield[ii][0][0][0][0][0]
     35    print "asr",test.allfield[ii][1][0][0][0][0]
    3936
    40 mpl.plot(tsurf,asr)
    41 mpl.show()
     37#mpl.plot(tsurf,asr)
     38#mpl.show()
Note: See TracChangeset for help on using the changeset viewer.