write_NumPy
Writes Bifrost arrays as NumPy files with extension .npy
Inputs
data
The array<T>or array<array<T>> or array<array<array<T>>> of data to write as NumPy data.
enable
If true, enables writing of files. Otherwise, this node simply passes its inputs through to its outputs.
file_path
The file path. Environment variables and sequence tokens (see frame) in paths are supported. For example, ${SOME_PROJECT_ROOT}/DataSet/data.#.npy
frame
The frame number of a sequence to write. If the file_path contains a sequence token (such as file.####.npy), the frame number will be substituted there. time.frame may be connected here to drive the frame of a sequence to write.
overwrite
If true, overwrites existing file.
create_directories
If true, creates output directory hierarchy if it doesn't exist.
Outputs
out_data
Passthrough of the input data.
success
True, if file was written successfully.
resolved_file_path
The full path of the written file. The tokens contained in the input file_path, if any, have been substituted by the frame number.
Limitations
- Only
array<T>orarray<array<T>>orarray<array<array<T>>>are supported as inputs. - Where
Tis of type:float,float2,float3,float4,float2x2,float3x3,float4x4,double,double2,double3,double4,double2x2,double3x3,double4x4,int,int2,int3,int4,int2x2,int3x3,int4x4,long,long2,long3,long4,long2x2,long3x3,long4x4,
