gpt4 book ai didi

ucar.nc2.dt.trajectory.ZebraClassTrajectoryObsDataset类的使用及代码示例

转载 作者:知者 更新时间:2024-03-20 06:02:31 28 4
gpt4 key购买 nike

本文整理了Java中ucar.nc2.dt.trajectory.ZebraClassTrajectoryObsDataset类的一些代码示例,展示了ZebraClassTrajectoryObsDataset类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZebraClassTrajectoryObsDataset类的具体详情如下:
包路径:ucar.nc2.dt.trajectory.ZebraClassTrajectoryObsDataset
类名称:ZebraClassTrajectoryObsDataset

ZebraClassTrajectoryObsDataset介绍

[英]Implements TrajectoryDataset for datasets with these characteristics:

  • it has only one dimension, the dimension is UNLIMITED and is named "time"
  • it has one coordinate variable, time(time), with units that are udunits time units
  • has the variables latitude(time), longitude(time), and altitude(time) with units "deg", "deg", and "m", respectively.
    [中]为具有以下特征的数据集实现TrajectoryDataset:
    *它只有一个维度,这个维度是无限的,叫做“时间”
    *它有一个坐标变量time(time),其单位为udunits时间单位
    *变量纬度(时间)、经度(时间)和高度(时间)分别以“度”、“度”和“米”为单位。

代码示例

代码示例来源:origin: edu.ucar/netcdf

public TypedDataset open( NetcdfDataset ncd, ucar.nc2.util.CancelTask task, StringBuilder errlog) throws IOException {
 return new ZebraClassTrajectoryObsDataset( ncd);
}
public FeatureType getScientificDataType() { return FeatureType.TRAJECTORY; }

代码示例来源:origin: edu.ucar/cdm

public ZebraClassTrajectoryObsDataset( NetcdfDataset ncd ) throws IOException
 {
  super( ncd);

  Config trajConfig = buildConfig( ncd);
  this.setTrajectoryInfo( trajConfig );
 }
}

代码示例来源:origin: edu.ucar/cdm

public boolean isMine(NetcdfDataset ds) { return isValidFile(ds); }
public TypedDataset open( NetcdfDataset ncd, ucar.nc2.util.CancelTask task, StringBuilder errlog) throws IOException {

代码示例来源:origin: edu.ucar/cdm

static public TrajectoryObsDataset open( String netcdfFileURI, ucar.nc2.util.CancelTask cancelTask)
     throws  IOException
 {
  NetcdfDataset ds = NetcdfDataset.acquireDataset( netcdfFileURI, cancelTask);
  if ( RafTrajectoryObsDataset.isValidFile( ds) )
   return new RafTrajectoryObsDataset( ds);
  else if ( SimpleTrajectoryObsDataset.isValidFile( ds))
   return new SimpleTrajectoryObsDataset( ds);
  else if ( Float10TrajectoryObsDataset.isValidFile( ds))
   return new Float10TrajectoryObsDataset( ds);
  else if ( ZebraClassTrajectoryObsDataset.isValidFile( ds ) )
   return new ZebraClassTrajectoryObsDataset( ds );
  else if ( ARMTrajectoryObsDataset.isValidFile( ds ) )
   return new ARMTrajectoryObsDataset( ds );
  else
   return null;

 }
}

代码示例来源:origin: edu.ucar/cdm

static public boolean isValidFile(NetcdfDataset ncd)
{
 return ( buildConfig( ncd ) != null );
}

代码示例来源:origin: edu.ucar/netcdf

static public TrajectoryObsDataset open( String netcdfFileURI, ucar.nc2.util.CancelTask cancelTask)
     throws  IOException
 {
  NetcdfDataset ds = NetcdfDataset.acquireDataset( netcdfFileURI, cancelTask);
  if ( RafTrajectoryObsDataset.isValidFile( ds) )
   return new RafTrajectoryObsDataset( ds);
  else if ( SimpleTrajectoryObsDataset.isValidFile( ds))
   return new SimpleTrajectoryObsDataset( ds);
  else if ( Float10TrajectoryObsDataset.isValidFile( ds))
   return new Float10TrajectoryObsDataset( ds);
  else if ( ZebraClassTrajectoryObsDataset.isValidFile( ds ) )
   return new ZebraClassTrajectoryObsDataset( ds );
  else if ( ARMTrajectoryObsDataset.isValidFile( ds ) )
   return new ARMTrajectoryObsDataset( ds );
  else
   return null;

 }
}

代码示例来源:origin: edu.ucar/netcdf

static public boolean isValidFile(NetcdfDataset ncd)
{
 return ( buildConfig( ncd ) != null );
}

代码示例来源:origin: Unidata/thredds

public ZebraClassTrajectoryObsDataset( NetcdfDataset ncd ) throws IOException
 {
  super( ncd);

  Config trajConfig = buildConfig( ncd);
  this.setTrajectoryInfo( trajConfig );
 }
}

代码示例来源:origin: Unidata/thredds

static public TrajectoryObsDataset open(String netcdfFileURI, ucar.nc2.util.CancelTask cancelTask)
     throws IOException {
  DatasetUrl durl = DatasetUrl.findDatasetUrl(netcdfFileURI);
  NetcdfDataset ds = NetcdfDataset.acquireDataset(durl, true, cancelTask);
  if (RafTrajectoryObsDataset.isValidFile(ds))
   return new RafTrajectoryObsDataset(ds);
  else if (SimpleTrajectoryObsDataset.isValidFile(ds))
   return new SimpleTrajectoryObsDataset(ds);
  else if (Float10TrajectoryObsDataset.isValidFile(ds))
   return new Float10TrajectoryObsDataset(ds);
  else if (ZebraClassTrajectoryObsDataset.isValidFile(ds))
   return new ZebraClassTrajectoryObsDataset(ds);
  else if (ARMTrajectoryObsDataset.isValidFile(ds))
   return new ARMTrajectoryObsDataset(ds);
  else
   return null;

 }
}

代码示例来源:origin: edu.ucar/cdm

public TypedDataset open( NetcdfDataset ncd, ucar.nc2.util.CancelTask task, StringBuilder errlog) throws IOException {
 return new ZebraClassTrajectoryObsDataset( ncd);
}
public FeatureType getScientificDataType() { return FeatureType.TRAJECTORY; }

代码示例来源:origin: Unidata/thredds

static public boolean isValidFile(NetcdfDataset ncd)
{
 return ( buildConfig( ncd ) != null );
}

代码示例来源:origin: edu.ucar/netcdf

public boolean isMine(NetcdfDataset ds) { return isValidFile(ds); }
public TypedDataset open( NetcdfDataset ncd, ucar.nc2.util.CancelTask task, StringBuilder errlog) throws IOException {

代码示例来源:origin: edu.ucar/netcdf

public ZebraClassTrajectoryObsDataset( NetcdfDataset ncd ) throws IOException
 {
  super( ncd);

  Config trajConfig = buildConfig( ncd);
  this.setTrajectoryInfo( trajConfig );
 }
}

代码示例来源:origin: Unidata/thredds

public TypedDataset open( NetcdfDataset ncd, ucar.nc2.util.CancelTask task, StringBuilder errlog) throws IOException {
 return new ZebraClassTrajectoryObsDataset( ncd);
}
public FeatureType getScientificDataType() { return FeatureType.TRAJECTORY; }

代码示例来源:origin: Unidata/thredds

public boolean isMine(NetcdfDataset ds) { return isValidFile(ds); }
public TypedDataset open( NetcdfDataset ncd, ucar.nc2.util.CancelTask task, StringBuilder errlog) throws IOException {

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com