these technical data and information filled a void in china and provided valuable experience in training the troops , use of nuclear weapons , protection against nuclear weapons , improving the weapons , building military and civil defense facilities , waterworks , and agricultural production .