This script will make an index of all the netcdf files in a directory (including those in subdirectories). It requires Perl 5 and the Perl NetCDF module. This index has one line per nc file, containing several fields separated by tabs: 1. CD name 2. Path to the NetCDF file, relative to the base directory 3. Compressed file name (when present) 4. File name 5. Minimum woce_date 6. Maximum woce_date 7. Minimum latitude in the file 8. Maximum latitude in the file 9. Westmost longitude in the file 10. Eastmost longitude in the file 11. Minimum depth 12. Maximum depth * Note: mkinv is coded to set min/max depth to 0.0. If you want to determine a range, the code will need to be modified. 13. Experiment ID (expocode) 14. Minimum sea temperature 15. Maximum sea temperature 16. Minimum wind speed 17. Maximum wind speed 18. Platform type and name 19. Existence of heading PL_HD 20. Existence of course PL_CRS 21. Existence of platform speed PL_SPD 22. Existence of platform relative wind direction PL_WDIR 23. Existence of platform relative wind speed PL_WSPD 24. Existence of earth relative wind direction DIR 25. Existence of atmospheric pressure P 26. Existence of air temperature T 27. Existence of wet-bulb temperature TW 28. Existence of dewpoint temperature TD 29. Existence of relative humidity RH 30. Existence of specific humidity Q 31. Existence of precipitation PRECIP 32. Existence of rain rate RRATE 33. Existence of atmospheric radiation RAD 34. Existence of weather code WX 35. Existence of total cloud amount TCA 36. Existence of low/middle cloud amount LMCA 37. Existence of cloud base height ZCL 38. Existence of low cloud type LCT 39. Existence of middle cloud type MCT 40. Existence of high cloud type HCT Usage: First, (optionally) edit the variables at the top of mkinv to match your system. Then, you can just run mkinv with the options listed below, and it will generate the index for you. Here are a few switches you can use: -o - sets the output file (this is a REQUIRED field) -v - makes mkinv verbose -h - prints some simple help If you need help, feel free to email me at bennett@coaps.fsu.edu. Mark Bennett