Gianpaolo Coro 2013-04-10 16:08:55 +00:00
parent e2b4b05b5d
commit d87c6e0077
1 changed files with 4 additions and 2 deletions

View File

@ -421,7 +421,9 @@ public class NetCDFMetadata {
GNClient client = new GNClient(geonetworkUrl);
client.login(geonetworkUser, geonetworkPwd);
client.insertMetadata(new GNInsertConfiguration("3", "datasets", "_none_", true), meta2File(meta));
File tmetafile = meta2File(meta);
client.insertMetadata(new GNInsertConfiguration("3", "datasets", "_none_", true), tmetafile);
tmetafile.delete();
}
}