Open NC File Tool

  1. Rainfed wheat (Triticum aestivum L.) yield prediction using economical, meteorological, and drought indicators through pooled panel data and statistical downscaling
  2. Prediction of effective climate change indicators using statistical downscaling approach and impact assessment on pearl millet (Pennisetum glaucum L.) yield through Genetic Algorithm in Punjab, Pakistan

What is Open NC File Tool?

Open NC File is a versatile and unrestricted tool designed to extract time series data from NetCDF files. It effortlessly opens and reads data from any type of NetCDF file, including those with rotated-pole-grids, such as CORDEX data. The tool allows users to input a list of station coordinates either manually or via a text file, Excel file, or CSV file.

One of the key features of Open NC File is its ability to merge NetCDF files in unlimited dimensions temporarily. Users can input the name of the unlimited dimension if the file didn't define any dimension as unlimited. Additionally, the tool provides an API that displays the stations and the domain of the NetCDF file on a map(Just for 1Dim Lat/lon), making it easier for users to visualize the spatial distribution of their stations.

Open NC File is designed to work seamlessly with NetCDF files that have three or two dimensions, and it automatically detects and uses the latitude and longitude dimensions present in the files. However, in cases where these dimensions are not automatically detected, users have the option to enter them manually in Text-Boxes.

When dealing with NetCDF files with a time dimension, Open NC File effortlessly handles them, and if a file lacks a time dimension, the tool efficiently merges the files using the time dimension. For NetCDF files with four dimensions, users can easily select a specific element of the fourth dimension.

In conclusion, Open NC File is a powerful and user-friendly tool that simplifies the extraction of time series data from NetCDF files, catering to a wide range of file configurations and allowing users to interact with their data effectively.

The Open NC File tool has undergone rigorous testing by AgriMetSoft's team, using various NetCDF files. We are delighted to announce that the tool has been successfully able to open all tested files without any issues and extract data. Rest assured, it is a reliable and effective solution for extracting time series from NetCDF files.

If you require any assistance or have any questions, please feel free to reach out to us at Additionally, you can purchase the "Open NC File" tool and gain access to our dedicated support team, who will be more than happy to assist you with any queries or concerns you may have. Invest in Open NC File today and experience seamless NetCDF file extraction with complete support.

Diffrent Between Open NC File and ArcGis result

Video Thumbnail

Diffrent Between Open NC File and ArcGis resultDiffrent Between Open NC File and ArcGis result

Video Thumbnail

How can we run "Open NC File" tool?

Downloading and installing the "Open NC File" tool on Windows is a straightforward process. Once installed, you can immediately run and test its functionalities. However, to enable data extraction using the "Open NC File" tool, you will need to purchase a valid key. Upon completing your purchase at our store, the "Open NC File" key will be promptly provided to you. You will receive an email from FastSpring Co. containing the key, allowing you to unlock the full potential of the "Open NC File" tool. Should you encounter any issues during the installation or usage, don't hesitate to reach out to us for further assistance. We are always ready to help and ensure you have a seamless experience with the "Open NC File" tool.

The Open NC File tool offers three distinct output data styles. The first tab showcases the style of stations in the Open NC File tool.

Open NC File Tool Stations Style

In the second tab of the Open NC File tool, you will find two extraction styles for rectangular regions: Style1 and Style2. These styles facilitate the process of extracting data from specific rectangular areas in the NetCDF files. You can check them in the below pictures:

Open NC File Tool Style1

The license of this tool is applicable for one year of using and you can renew it by pay 20% of the price for the new year.

Tutorial for GPCC NetCDF data

Video Thumbnail

All images are contained within the PDF files, which can be accessed through the provided links above.

Open NC File Tutorial

The OpenNCFile tool simplifies the process of extracting data from NetCDF files based on geographic coordinates. By following this tutorial, you should be well-equipped to utilize this tool for your data extraction needs.

  1. Installation and Registration
  2. You can obtain the installer by following this link. Once you've clicked on the installer, the installation process will be straightforward, and the tool will be automatically installed on your computer. After installation, you can easily access the tool either by clicking on the desktop shortcut or by searching for "ONCF" in your computer's program list. Please refer to the arrows in Figure 1 in PDF file for guidance.

    When you purchase a license through our online store, FastSpring will promptly send you a registration key via email. To complete the registration process, follow these steps:

    • Open the tool, and locate the key icon in the top bar.
    • Click on this key icon to access the registration interface.
    • Enter the registration key you received in your email.

    Please note that an internet connection is required for the registration process to validate your key. If you encounter an error message indicating an incorrect key, it may be due to your PC's language settings not being set to English (for non-Unicode programs). In such cases, you have two options:

    • Change PC Language Settings (Recommended): You can adjust your PC's language settings by following the instructions provided in this video tutorial.
    • Contact Support for Assistance: Alternatively, you can send your System ID to our support team, and we will generate a registered version for you, then you will not need the registration process
  3. Extract for List of Stations
  4. If you wish to extract data for a specific point (station) or a list of stations, follow these steps:

    • Click on the first icon located in the top bar.
    • Select all the NetCDF files you intend to use (it's advisable not to alter the file names).
    • Note: During this process, you may encounter a warning similar to the one shown in Figure 1(check PDF file- Warning about reading calendar of date). This warning indicates that the tool not be able to display dates in the Unlimited section. These items represent the time grid numbers (From and Number) based on the date. You can disregard this warning; it won't affect your data extraction process.

      Note: If your file does not define a dimension as an unlimited dimension, the tool will prompt you to specify which dimension and variables should be considered as unlimited. Typically, in files where merging is desired, the unlimited dimension is "time."

    • Typically, the tool can automatically detect the name of the coordinate variable. However, if it fails to do so, you will need to locate and manually enter them into the tool, as shown in Figure 4. In the Unlimited Dimension section, it's important to ensure that the files are arranged sequentially. You will need to specify the starting cell number and the total number of cells you wish to extract. The tool will then automatically select the whole range of Unlimited-dimension cells. For example, if you enter "From: 1" and "Number: 3," the tool will extract cell 1, cell 2, and cell 3.
    • You can populate the list of stations either manually or by importing it from a file. When using a text file format to input the list of stations, make sure to specify the delimiter.
    • You can populate the list of stations either manually or by importing it from a file. When using a text file format to input the list of stations, make sure to specify the delimiter.
    • Note: You have the option to enable the "Use ProgressBar" checkbox, but please be aware that it may slightly reduce the extraction speed.

      Note: You can also enable the "Fill Table" checkbox; however, for extracting a substantial amount of data with numerous columns, you may encounter limitations. In such cases, we recommend leaving this option unchecked. After the extraction process is complete, you can save the results in an Excel file and view them using Excel for a smoother experience.

    • . After you enter the name of variable then you can proceed by clicking the "Extract" button to initiate the data extraction process. Additionally, there is a "Stations on Map" button available that displays the stations on a map. Please note that this feature does not function correctly for 2-dimensional coordinates or rotated coordinate systems.

      Note: You can locate the names of variables in the left-hand TreeView in the Files section.

      Note: Occasionally, the Unidata library may encounter difficulties with projection. In such cases, you can check the "Calculate GNs manually if Error" option to switch to manual Grid Number calculation as a workaround. However manual Grid Number calculation will done by the tool but with a specific formula.

  5. Extract for Rectangular Region
  6. Extracting data for a region follows a similar process to extracting data for stations, with a few notable differences. Let's outline these differences for clarity.

    • To select NetCDF files, please use the second icon in the top bar instead of the first icon.
    • Instead of entering a list of stations, you should specify the starting and ending latitude and longitude coordinates for your region. If your region is a rectangular shape, define it by providing the minimum and maximum latitude and longitude values. This will define the boundaries of your region.
    • 3. When you extract a time series for a region, you'll have a 3-dimensional array of data. To display this data in a 2-dimensional table, you can choose between two styles: Style 1 and Style 2, as illustrated in Figure 4.

Open NC File Formulas

The OpenNCFile tool serves as an extractor and does not rely on a specific formula. Projection involves mathematical processes, and in the OpenNCFile tool, we leverage the Unidata netCDF-Java Library to execute these operations. For further details, please refer to the GitHub release page. Below, you can find the code we employ to determine the Grid Number (or Cell Number) using normal coordinates:

ucar.nc2.dt.grid.GridDataset gds =;
ucar.nc2.dt.GridDatatype grid = gds.findGridDatatype(VarName);
ucar.nc2.dt.GridCoordSystem gcs = grid.getCoordinateSystem();
var index1 = gcs.findXYindexFromCoord(lat, lon, null);
var index2 = gcs.findXYindexFromLatLon(lat, lon, null);