Ignore:
Timestamp:
Dec 19, 2006, 5:18:34 PM (17 years ago)
Author:
jakeman
Message:

Comment about problem with integer type and NetCDF on the Bogong 64 bit
machine.
(Ole and John)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/load_mesh/loadASCII.py

    r3850 r4099  
    640640    """
    641641 
    642 
     642    # FIXME(Ole and John): We ran into a problem on Bogong (64 bit) where integers appeared as arrays.
     643    # This may be similar to problem seen by Steve in changeset:2778 where he had to wrap them in int.
     644    # Now we are trying with the native Integer format (Int == 'l' == Int64). However, that caused casting errors, when 64bit arrays
     645    # are to be assigned to their NetCDF counterparts. It seems that the NetCDF arrays are 32bit even though they are created with
     646    # the type Int64. Need to look at the NetCDF library in more detail.
     647   
    643648    IntType = Int32
     649    #IntType = Int
    644650   
    645651    #
Note: See TracChangeset for help on using the changeset viewer.