If you want to convert CDT station data format or a NetCDF dataset into CPT station or gridded data format, use
, it will display a dialog box.Select the input data format to convert. Available data formats are: CDT stations data format, NetCDF gridded data.
If the input data is a CDT station data format, select from the drop-down list the file containing the station data to be converted if it is already loaded, or open it from the browse button on the right. In case of NetCDF gridded data, type the full path to the folder containing the NetCDF files or browse it from the button on the right. Then click on the button
. A dialog box will be displayed in which you can provide a sample file and change the filename format of the NetCDF file.Example:
If you have a NetCDF dataset with the file name
outTS_2017-12_2018-02.nc, the format should be like
this outTS_%Y-%M_%Y-%M.nc.
If the file name is onset_20181201.nc, the format
should be like this onset_%Y%M%D.nc.
Click on the button to start the conversion.
The menu
allows to convert NetCDF, GeoTIFF, ESRI .hdr Labelled (.bil and .hdr) files to other format.ncvar_def
of the R
package
ncdf4
for more details.Click on the button to start the conversion.
As CDT can only handle a NetCDF data with a separate file for each time step, you need to create a Data Descriptor File to be able to display CDT output NetCDF in GrADS. You can use the menu to create the data descriptor file.
Example:
If you have a NetCDF dataset with the file name
rr_mrg_20180121_ALL.nc, the format should be like this
rr_mrg_%Y%M%D_ALL.nc.
If the file name is rfe_201801.nc, the format should be
like this rfe_%Y%M.nc.
Click on the button to create the data descriptor file.