Tabnine Logo
GridCoordSys.getTimeAxisForRun
Code IndexAdd Tabnine to your IDE (free)

How to use
getTimeAxisForRun
method
in
ucar.nc2.dt.grid.GridCoordSys

Best Java code snippets using ucar.nc2.dt.grid.GridCoordSys.getTimeAxisForRun (Showing top 3 results out of 315)

origin: Unidata/thredds

private List<CalendarDate> makeCalendarDates2D() {
 Set<CalendarDate> dates = new HashSet<>();
 CoordinateAxis1DTime rtaxis = getRunTimeAxis();
 List<CalendarDate> runtimes = rtaxis.getCalendarDates();
 for (int i = 0; i < runtimes.size(); i++) {
  CoordinateAxis1DTime taxis = getTimeAxisForRun(i);
  if (taxis == null) throw new IllegalStateException();
  List<CalendarDate> times = taxis.getCalendarDates();
  for (CalendarDate time : times) dates.add(time);
 }
 // sorted list
 int n = dates.size();
 CalendarDate[] dd = dates.toArray(new CalendarDate[n]);
 List<CalendarDate> dateList = Arrays.asList(dd);
 Collections.sort(dateList);
 return dateList;
}
origin: edu.ucar/netcdf

private List<CalendarDate> makeCalendarDates2D() {
 Set<CalendarDate> dates = new HashSet<CalendarDate>();
 CoordinateAxis1DTime rtaxis = getRunTimeAxis();
 List<CalendarDate> runtimes = rtaxis.getCalendarDates();
 for (int i = 0; i < runtimes.size(); i++) {
  CoordinateAxis1DTime taxis = getTimeAxisForRun(i);
  List<CalendarDate> times = taxis.getCalendarDates();
  for (int j = 0; j < times.size(); j++)
   dates.add(times.get(j));
 }
 // sorted list
 int n = dates.size();
 CalendarDate[] dd = dates.toArray(new CalendarDate[n]);
 List<CalendarDate> dateList = Arrays.asList(dd);
 Collections.sort(dateList);
 return dateList;
}
origin: edu.ucar/cdm

private List<CalendarDate> makeCalendarDates2D() {
 Set<CalendarDate> dates = new HashSet<>();
 CoordinateAxis1DTime rtaxis = getRunTimeAxis();
 List<CalendarDate> runtimes = rtaxis.getCalendarDates();
 for (int i = 0; i < runtimes.size(); i++) {
  CoordinateAxis1DTime taxis = getTimeAxisForRun(i);
  if (taxis == null) throw new IllegalStateException();
  List<CalendarDate> times = taxis.getCalendarDates();
  for (CalendarDate time : times) dates.add(time);
 }
 // sorted list
 int n = dates.size();
 CalendarDate[] dd = dates.toArray(new CalendarDate[n]);
 List<CalendarDate> dateList = Arrays.asList(dd);
 Collections.sort(dateList);
 return dateList;
}
ucar.nc2.dt.gridGridCoordSysgetTimeAxisForRun

Popular methods of GridCoordSys

  • hasVerticalAxis
  • <init>
    Create a GridCoordSys as a section of an existing GridCoordSys. This will create sections of the cor
  • convertUnits
  • findXYindexFromCoord
    Given a point in x,y coordinate space, find the x,y index in the coordinate system.
  • findXYindexFromCoordBounded
    Given a point in x,y coordinate space, find the x,y index in the coordinate system. If outside the r
  • getBoundingBox
    Get the x,y bounding box in projection coordinates.
  • getCalendarDates
  • getCoordinateTransforms
  • getEnsembleAxis
    get the Ensemble axis, else null
  • getHorizStaggerType
  • getLatLon
    Get the Lat/Lon coordinates of the midpoint of a grid cell, using the x,y indices
  • getLatLonBoundingBox
  • getLatLon,
  • getLatLonBoundingBox,
  • getLevels,
  • getMinOrMaxLon,
  • getName,
  • getProjection,
  • getRangesFromLatLonRect,
  • getRunTimeAxis,
  • getTimeAxis,
  • getTimeAxis1D

Popular in Java

  • Reactive rest calls using spring rest template
  • setRequestProperty (URLConnection)
  • getSharedPreferences (Context)
  • findViewById (Activity)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • JFileChooser (javax.swing)
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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