EnglishFrenchSpanish

OnWorks favicon

ncflint - Online in the Cloud

Run ncflint in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command ncflint that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


ncflint - netCDF File Interpolator

SYNTAX


ncflint [-3] [-4] [-6] [-7] [-A] [--bfr sz][-C][-c][--cnk_byt sz][--cnk_dmn nm,sz]
[--cnk_map map] [--cnk_min sz] [--cnk_plc plc] [--cnk_scl sz][-D dbg_lvl] [-d dim,[
min][,[ max]]] [-F] [--fix_rec_crd] [-G gpe_dsc] [-g grp[,...]] [--glb att_name=
att_val]] [-h] [--hdf] [--hdr_pad sz] [-i var,val3][-L dfl_lvl][-l path] [--msa]
[--no_tmp_fl] [-O] [-p path] [--ppc var1[, var2[,...]]= prc]] [-R] [-r] [--ram_all] [-t
thr_nbr] [--unn] [-v var[,...]] [-w wgt[, wgt2]] [-X box] [-x] file1 file2 file3

DESCRIPTION


ncflint creates an output file that is a linear combination of the input files. This
linear combination can be a weighted average, a normalized weighted average, or an
interpolation of the input files. Coordinate variables are not acted upon in any case,
they are simply copied from file_1.
There are two conceptually distinct methods of using ncflint. The first method is to
specify the weight each input file is to have in the output file. In this method, the
value val3 of a variable in the output file file_3 is determined from its values val1 and
val2 in the two input files according to wgt1*val1+wgt2*val2

Here at least wgt1, and, optionally, wgt2, are specified on the command line with the -w
(or --weight or --wgt_var ) switch. If only wgt1 is specified then wgt2 is automatically
computed as wgt2=1-wgt1. Note that weights larger than 1 are allowed. Thus it is
possible to specify wgt1=2 and wgt2=-3. One can use this functionality to multiply all
the values in a given file by a constant.

The second method of using ncflint is to specify the interpolation option with -i (or with
the --ntp or --interpolate long options). This is really the inverse of the first method
in the following sense. When the user specifies the weights directly, ncflint has no work
to do besides multiplying the input values by their respective weights and adding the
results together to produce the output values. This assumes it is the weights that are
known a priori. In another class of cases it is the "arrival value" (i.e., val3 ) of a
particular variable var that is known a priori. In this case, the implied weights can
always be inferred by examining the values of var in the input files. This results in one
equation in two unknowns, wgt1 and wgt2: val3=wgt1*val1+wgt2*val2.

Unique determination of the weights requires imposing the additional constraint of
normalization on the weights: wgt1+wgt2=1. Thus, to use the interpolation option, the
user specifies var and val3 with the -i option. ncflint will compute wgt1 and wgt2, and
use these weights on all variables to generate the output file. Although var may have any
number of dimensions in the input files, it must represent a single, scalar value. Thus
any dimensions associated with var must be "degenerate", i.e., of size one.

If neither -i nor -w is specified on the command line, ncflint defaults to weighting each
input file equally in the output file. This is equivalent to specifying -w 0.5 or -w
0.5,0.5. Attempting to specify both -i and -w methods in the same command is an error.

ncflint is programmed not to interpolate variables of type NC_CHAR and NC_BYTE. This
behavior is hardcoded.

Use ncflint online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Image Downloader
    Image Downloader
    Crawl and download images using
    Selenium Using python3 and PyQt5.
    Supported Search Engine: Google, Bing,
    Baidu. Keywords input from the keyboard
    or input from ...
    Download Image Downloader
  • 2
    Eclipse Tomcat Plugin
    Eclipse Tomcat Plugin
    The Eclipse Tomcat Plugin provides
    simple integration of a tomcat servlet
    container for the development of java
    web applications. You can join us for
    discussio...
    Download Eclipse Tomcat Plugin
  • 3
    WebTorrent Desktop
    WebTorrent Desktop
    WebTorrent Desktop is for streaming
    torrents on Mac, Windows or Linux. It
    connects to both BitTorrent and
    WebTorrent peers. Now there's no
    need to wait for...
    Download WebTorrent Desktop
  • 4
    GenX
    GenX
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 5
    pspp4windows
    pspp4windows
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 6
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • More »

Linux commands

Ad