1. A non-transitory computer-readable medium that stores therein a program causing a computer to execute a process comprising: obtaining first data by grouping values indicating physical quantities of spatially discrete distribution points at each of times by each of the spatially discrete distribution points and chronologically sorting the grouped values, the first data being defined as time-series data in which the physical quantities at the times are chronologically stored for each of the spatially discrete distribution points; obtaining second data by compressing the first data in accordance with at least one of a plurality of compression conditions for each of the distribution points or each group of a plurality of the distribution points, the plurality of compression conditions including a necessity of compression, a compression interval, and a compression algorithm type; storing the second data in a storage device; and handling values of the second data which are within an output physical quantity equivalence condition threshold value as the same value when the values are within the output physical quantity equivalence condition threshold value in a predetermined number of consecutive time slots, the output physical quantity equivalence condition threshold value being a storage condition for each of the distribution points or each group of a plurality of the distribution points.