A prototype code for generating an AMNS database from ADAS and nuclear can be found in gforge as the project amnsproto in the branches/adas_db area.
So far the only documentation is the doxygen documentation for the AMNS Data Provider routines (follow the links to Files|File List|src/amns_driver.f90).
Here are some comments about the data provider driver:
To maintain the version information, a MySQL database was used for 4.09a and 4.09b. The database is updated by amns_driver when new data is written, and the database is used by the user interface routines to determine which "run" (version) number should be used for each "shot" (species). From 4.10a onwards, the version data is stored in an AMNS CPO under shot 0, run 1.
The current status of this database can be queried from the Gateway by doing (note that this is only for pre-4.10a versions):
mysql -h solps-mdsplus.aug.ipp.mpg.de -u amnsro -p amns amnsro select * from versions; quit;(i.e. accessing the "amns" database on the server "solps-mdsplus.aug.ipp.mpg.de" as user "amnsro"; the password is "amnsro").
$ITMSCRIPTDIR/create_user_itm_dir amns 4.10breplacing the 4.10b with the appropriate version.
svn co https://gforge6.eufus.eu/svn/amnsprotoand then follow the instructions in the top level README