Changeset 759 for codes/icosagcm/devel/Python/src/cxios.pyx
- Timestamp:
- 10/11/18 18:27:15 (6 years ago)
- Location:
- codes/icosagcm/devel/Python/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
codes/icosagcm/devel/Python/src
- Property svn:ignore
-
old new 1 1 build 2 xios.c2 cxios.c 3 3 unstructured.c
-
- Property svn:ignore
-
codes/icosagcm/devel/Python/src/cxios.pyx
r694 r759 67 67 fun = cxios.vardict[prefix+key] 68 68 extra=value 69 if type(value) in (int,c_int ):69 if type(value) in (int,c_int,np.int64,np.int32): 70 70 fun(handle,c_int(value)) 71 71 elif type(value) is np.ndarray: … … 102 102 ['update_calendar',c_int] ]) 103 103 104 import_set_attr(['domain','domaingroup'], [c_int,'ni_glo','ibegin','ni','nvertex','data_dim'], [str,'type'], 105 [np.ndarray, 'i_index','lonvalue_1d','latvalue_1d','bounds_lat_1d','bounds_lon_1d']) 104 import_set_attr(['domain','domaingroup'], [c_int,'ni_glo','nj_glo','ibegin','jbegin','ni','nvertex','data_dim'], [str,'type'], 105 [np.ndarray, 'i_index','j_index', 106 'lonvalue_1d','latvalue_1d','bounds_lat_1d','bounds_lon_1d']) 106 107 import_set_attr(['field','fieldgroup'], [Duration,'freq_op','freq_offset']) 107 108 import_set_attr(['axis'], [c_int,'n_glo'], [np.ndarray,'value'])
Note: See TracChangeset
for help on using the changeset viewer.