mirror of
https://github.com/meteoinfo/MeteoInfo.git
synced 2025-12-08 20:36:05 +00:00
Bug fixed in Field construction function
This commit is contained in:
parent
19641ca19b
commit
8398769161
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
<MeteoInfo File="config.xml" Type="configurefile">
|
<MeteoInfo File="config.xml" Type="configurefile">
|
||||||
<Path OpenPath="D:\Temp\Map\HydroRIVERS_v10_as_shp\HydroRIVERS_v10_as_shp"/>
|
<Path OpenPath="D:\Temp\traj\Sample"/>
|
||||||
<Font>
|
<Font>
|
||||||
<TextFont FontName="YaHei Consolas Hybrid" FontSize="14"/>
|
<TextFont FontName="YaHei Consolas Hybrid" FontSize="14"/>
|
||||||
<LegendFont FontName="宋体" FontSize="12"/>
|
<LegendFont FontName="宋体" FontSize="12"/>
|
||||||
|
|||||||
@ -101,7 +101,7 @@ import org.meteoinfo.ndarray.DataType;
|
|||||||
this.setDataType(DataType.FLOAT);
|
this.setDataType(DataType.FLOAT);
|
||||||
break;
|
break;
|
||||||
case 'N':
|
case 'N':
|
||||||
if (fNumDec == 0 && fLen <= 9){
|
if (fNumDec == 0){
|
||||||
if (fLen <= 9)
|
if (fLen <= 9)
|
||||||
this.setDataType(DataType.INT);
|
this.setDataType(DataType.INT);
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user