congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
GridDataset$Gridset
Code IndexAdd Tabnine to your IDE (free)

How to use
GridDataset$Gridset
in
ucar.nc2.dt

Best Java code snippets using ucar.nc2.dt.GridDataset$Gridset (Showing top 20 results out of 315)

origin: edu.ucar/netcdf

 throw new IllegalArgumentException( "Non-null coverage required." );
this.coordSys = coverage.getGeoCoordSystem();
if ( this.coordSys == null )
StringBuilder descripSB = new StringBuilder( "All parameters on the \"")
    .append( this.name).append( "\" coordinate system: ");
for ( GridDatatype curField : this.coverage.getGrids() )
origin: Unidata/thredds

GridCoordSystem coordSystem = gridset.getGeoCoordSystem();
ProjectionImpl fromProj = coordSystem.getProjection();
coordSystem.getLatLonBoundingBox();
origin: edu.ucar/cdm

GridCoordSystem coordSystem = gridset.getGeoCoordSystem();
ProjectionImpl fromProj = coordSystem.getProjection();
coordSystem.getLatLonBoundingBox();
origin: edu.ucar/netcdf

GridCoordSystem coordSystem = gridset.getGeoCoordSystem();
ProjectionImpl fromProj = coordSystem.getProjection();
coordSystem.getLatLonBoundingBox();
origin: Unidata/thredds

GridCoordSystem gcs = gset.getGeoCoordSystem();
origin: edu.ucar/cdm

GridCoordSystem gcs = gset.getGeoCoordSystem();
origin: edu.ucar/netcdf

GridCoordSystem gcs = gset.getGeoCoordSystem();
origin: Unidata/thredds

gridset1.getGeoCoordSystem();
origin: Unidata/thredds

ucar.nc2.dt.GridCoordSystem gcs = gridSet.getGeoCoordSystem();
ProjectionCT pct = gcs.getProjectionCT();
if (pct != null) {
origin: Unidata/thredds

ucar.nc2.dt.GridCoordSystem gcs = gridSet.getGeoCoordSystem();
ProjectionCT pct = gcs.getProjectionCT();
if (pct != null) {
origin: edu.ucar/cdm

ucar.nc2.dt.GridCoordSystem gcs = gridSet.getGeoCoordSystem();
ProjectionCT pct = gcs.getProjectionCT();
if (pct != null) {
origin: edu.ucar/netcdf

ucar.nc2.dt.GridCoordSystem gcs = gridSet.getGeoCoordSystem();
ProjectionCT pct = gcs.getProjectionCT();
if (pct != null) {
origin: edu.ucar/cdm

ucar.nc2.dt.GridCoordSystem gcs = gridSet.getGeoCoordSystem();
ProjectionCT pct = gcs.getProjectionCT();
if (pct != null) {
origin: Unidata/thredds

gridset.getGeoCoordSystem();
origin: edu.ucar/netcdf

curCovSum.addContent( new Element( "Title", owsNS).addContent( gs.getGeoCoordSystem().getName()));
curCovSum.addContent( new Element( "Identifier", wcsNS).addContent( gs.getGeoCoordSystem().getName()));
origin: Unidata/thredds

private Element writeGridSet(GridDataset.Gridset gridset) {
  Element csElem = new Element("gridSet");
  GridCoordSystem cs = gridset.getGeoCoordSystem();          
  csElem.setAttribute("name", cs.getName());
  List<GridDatatype> grids = gridset.getGrids();
  Collections.sort(grids);
  for (GridDatatype grid : grids) {
origin: edu.ucar/netcdf

private Element writeGridSet(GridDataset.Gridset gridset) {
  Element csElem = new Element("gridSet");
  GridCoordSystem cs = gridset.getGeoCoordSystem();          
  csElem.setAttribute("name", cs.getName());
  List<GridDatatype> grids = gridset.getGrids();
  Collections.sort(grids);
  for (GridDatatype grid : grids) {
origin: edu.ucar/cdm

private Element writeGridSet(GridDataset.Gridset gridset) {
  Element csElem = new Element("gridSet");
  GridCoordSystem cs = gridset.getGeoCoordSystem();          
  csElem.setAttribute("name", cs.getName());
  List<GridDatatype> grids = gridset.getGrids();
  Collections.sort(grids);
  for (GridDatatype grid : grids) {
origin: Unidata/thredds

static public CalendarDateRange extractCalendarDateRange(GridDataset gridDataset) {
 CalendarDateRange maxDateRange = null;
 for (GridDataset.Gridset gridset : gridDataset.getGridsets()) {
  GridCoordSystem gsys = gridset.getGeoCoordSystem();
  CalendarDateRange dateRange;
  CoordinateAxis1DTime time1D = gsys.getTimeAxis1D();
  if (time1D != null) {
   dateRange = time1D.getCalendarDateRange();
  } else {
   CoordinateAxis time = gsys.getTimeAxis();
   if (time == null)
    continue;
   
   try {
    DateUnit du = new DateUnit( time.getUnitsString());
    Date minDate = du.makeDate(time.getMinValue());
    Date maxDate = du.makeDate(time.getMaxValue());
    dateRange = CalendarDateRange.of( minDate, maxDate);
   } catch (Exception e) {
    logger.warn("Illegal Date Unit "+time.getUnitsString());
    continue;
   }
  }
  if (maxDateRange == null)
   maxDateRange = dateRange;
  else
   maxDateRange = maxDateRange.extend( dateRange);
 }
 return maxDateRange;
}
origin: edu.ucar/netcdf

static public CalendarDateRange extractCalendarDateRange(GridDataset gridDataset) {
 CalendarDateRange maxDateRange = null;
 for (GridDataset.Gridset gridset : gridDataset.getGridsets()) {
  GridCoordSystem gsys = gridset.getGeoCoordSystem();
  CalendarDateRange dateRange;
  CoordinateAxis1DTime time1D = gsys.getTimeAxis1D();
  if (time1D != null) {
   dateRange = time1D.getCalendarDateRange();
  } else {
   CoordinateAxis time = gsys.getTimeAxis();
   if (time == null)
    continue;
   
   try {
    DateUnit du = new DateUnit( time.getUnitsString());
    Date minDate = du.makeDate(time.getMinValue());
    Date maxDate = du.makeDate(time.getMaxValue());
    dateRange = CalendarDateRange.of( minDate, maxDate);
   } catch (Exception e) {
    logger.warn("Illegal Date Unit "+time.getUnitsString());
    continue;
   }
  }
  if (maxDateRange == null)
   maxDateRange = dateRange;
  else
   maxDateRange.extend( dateRange);
 }
 return maxDateRange;
}
ucar.nc2.dtGridDataset$Gridset

Javadoc

A set of GridDatatype objects with the same Coordinate System.

Most used methods

  • getGeoCoordSystem
    all the GridDatatype in this Gridset use this GridCoordSystem
  • getGrids
    Get list of GridDatatype objects with same Coordinate System

Popular in Java

  • Start an intent from android
  • findViewById (Activity)
  • putExtra (Intent)
  • scheduleAtFixedRate (Timer)
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now