SST Lab Dokuwiki Header header picture

ユーザ用ツール

サイト用ツール


ase:nc

ncファイル

summary

jacapo = Jacapo(nc = 'out.nc')
jacapo.get_nc()
jacapo.set_nc(nc='out.nc')

コンストラクタ

output netcdf file, or input file if nc already exists

jacapo = Jacapo(nc = 'out.nc')

set_nc

set filename for the netcdf and text output for this calculation

jacapo = Jacapo()
jacapo.set_nc(nc = 'out.nc')

Parameters

nc string filename for netcdf file

if the ncfile attached to the calculator is changing, the old file will be copied to the new file if it doesn not exist so that all the calculator details are preserved. Otherwise, the

if the ncfile does not exist, it will get initialized.

the text file will have the same basename as the ncfile, but with a .txt extension.

get_nc

return the ncfile used for output

jacapo = Jacapo(nc = 'out.nc')
print jacapo.get_nc()
ase/nc.txt · 最終更新: 2019/05/21 19:30 by kimi