Ignore:
Timestamp:
10/11/18 18:27:15 (6 years ago)
Author:
dubos
Message:

devel/unstructured : towards XIOS output with curvilinear mesh

Location:
codes/icosagcm/devel/Python/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/devel/Python/src

    • Property svn:ignore
      •  

        old new  
        11build 
        2 xios.c 
         2cxios.c 
        33unstructured.c 
  • codes/icosagcm/devel/Python/src/cxios.pyx

    r694 r759  
    6767            fun = cxios.vardict[prefix+key] 
    6868            extra=value 
    69             if type(value) in (int,c_int): 
     69            if type(value) in (int,c_int,np.int64,np.int32): 
    7070                fun(handle,c_int(value)) 
    7171            elif type(value) is np.ndarray: 
     
    102102                       ['update_calendar',c_int] ]) 
    103103 
    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']) 
    106107    import_set_attr(['field','fieldgroup'], [Duration,'freq_op','freq_offset']) 
    107108    import_set_attr(['axis'], [c_int,'n_glo'], [np.ndarray,'value']) 
Note: See TracChangeset for help on using the changeset viewer.