资源简介
Java语言实现解析气象云图数据,获得良好的效果,能够实现对AWX格式的气象云图数据精准解析,测试效果良好!
代码片段和文件信息
/*
* To change this license header choose License Headers in Project Properties.
* To change this template file choose Tools | Templates
* and open the template in the editor.
*/
package com.jhzl.utils.awx;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.nio.ByteOrder;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.meteoinfo.data.GridArray;
import org.meteoinfo.data.GridData;
import org.meteoinfo.data.StationData;
import org.meteoinfo.data.meteodata.DataInfo;
import org.meteoinfo.data.meteodata.Dimension;
import org.meteoinfo.data.meteodata.DimensionType;
import org.meteoinfo.data.meteodata.IGridDataInfo;
import org.meteoinfo.data.meteodata.IStationDataInfo;
import org.meteoinfo.data.meteodata.MeteoDataType;
import org.meteoinfo.data.meteodata.StationInfoData;
import org.meteoinfo.data.meteodata.StationModelData;
import org.meteoinfo.data.meteodata.Variable;
import org.meteoinfo.global.DataConvert;
import org.meteoinfo.global.Extent;
import org.meteoinfo.layer.WorldFilePara;
import org.meteoinfo.projection.KnownCoordinateSystems;
import org.meteoinfo.projection.ProjectionInfo;
import org.meteoinfo.projection.Reproject;
import ucar.ma2.Array;
import ucar.ma2.DataType;
import ucar.ma2.IndexIterator;
import ucar.ma2.InvalidRangeException;
import ucar.ma2.Range;
import ucar.ma2.Section;
import ucar.nc2.Attribute;
/**
*
* @author yaqiang
*/
public class AWXDataInfo extends DataInfo implements IGridDataInfo IStationDataInfo {
//
private String _dataFileName;
private int _orderOfInt;
private int _lenHeadP1;
private int _lenHeadP2;
private int _lenFillingData;
private int _lenRecord;
private int _numHeadRecord;
private int _numDataRecord;
private int _productType;
private int _zipModel;
private String _illumination;
private int _qualityMark;
////First level head record - Part 2
//private string _satelliteName;
//private int _factorGridField;
private int _byteGridData;
//private int _refMarkGridData;
//private int _scaleGridData;
//private int _codeTimeframe;
private int _baseData = 0;
private int _scaleFactor = 1;
private int _startYear;
private int _startMonth;
private int _startDay;
private int _startHour;
private int _startMinute;
private int _endYear;
private int _endMonth;
private int _endDay;
private int _endHour;
private int _endMinute;
private double _ulLatitude;
private double _ulLongitude;
private double _lrLatitude;
private double _lrLongitude;
private int _unitGrid;
private int _spaceLatGrid;
private int _spaceLonGrid;
private int _numLatGri
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 45113 2019-03-01 13:07 codes\AWXDataInfo.java
文件 18000 2019-03-01 13:07 codes\AWXUtil.java
目录 0 2019-04-14 09:48 codes\
- 上一篇:JAVA记事本61935
- 下一篇:bluecove-2.1.1.jar
评论
共有 条评论