Changes between Version 7 and Version 8 of ADAGUC


Ignore:
Timestamp:
Aug 22, 2008, 5:58:27 AM (16 years ago)
Author:
maartenplieger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ADAGUC

    v7 v8  
    8888----
    8989== Sample ADAGUC files ==
    90 Attached to this wiki, a zip file containing sample ADAGUC files can be found.
     90Attached to this wiki, a zip file containing a folder with sample ADAGUC files can be found. The folder contains two different datasets. The first contains Sciamachy level 3 tropospheric NO2 measurements obtained from http://www.temis.nl. The second file contains precipitation radar data from the Royal Dutch Meteorological Institute (KNMI, http://www.knmi.nl). The radar dataset has been resampled to 256x256 pixels to make it suitable for this example. The radar dataset contains 24 Radar precipitation images with 5 minute interval ranging from 2008-07-20 00:00:00 till 2008-07-201 01:55:00. This radar dataset is included purely to demonstrate the use of the time dimension. The file is created from a source ADAGUC NetCDF4 file (not included). When translating from an ADAGUC file all time dimensions with corresponding units are copied. It is also possible to subset time by using the select band option -b. Multiple bands can be selected. A single image can also be opened by using ADAGUC:filename.nc:varname.nc:dimname=value, e.g. ADAGUC:RADAR_EXP.NC:NL25_PCP:time=45
     91The first NO2 dataset is fully ADAGUC compliant and contains metadata obtained from the NCML file METANCML=SCIA__TEST_R___TMTNO2__L3.xml
    9192----
    92 == Using the driver ==
     93== gdal commands ==
    9394
     95Create NetCDF4/HDF5 file:
     96{{{
     97    gdal_translate -of ADAGUC\
     98     -co "METANCML=SCIA__TEST_R___TMTNO2__L3.xml"\
     99     -co "VALSTART=20080601T00:00:00.00000"\
     100     -co "VALSTOP=20080701T00:00:00.00000"\
     101     SCIA__TEST_R___TMTNO2__L3__20080601T000000_20080701T000000.asc\
     102     SCIA__TEST_R___TMTNO2__L3__20080601T000000_20080701T000000.h5
     103}}}
     104Create NetCDF3 file:
     105{{{
     106    gdal_translate -of ADAGUC\
     107     -co "METANCML=SCIA__TEST_R___TMTNO2__L3.xml"\
     108     -co "VALSTART=20080601T00:00:00.00000"\
     109     -co "VALSTOP=20080701T00:00:00.00000"\
     110     -co "FORCENC3=TRUE"\
     111     SCIA__TEST_R___TMTNO2__L3__20080601T000000_20080701T000000.asc\
     112     SCIA__TEST_R___TMTNO2__L3__20080601T000000_20080701T000000.h5
     113}}}
     114Create Resampled Precipitation Radar NetCDF3 file with time dimension:
     115{{{
     116     gdal_translate -of ADAGUC\
     117     -co "FORCENC3=TRUE" -outsize 256 256 -co "NAN=255"\
     118     RADAR_EXP.h5\
     119     RAD___TEST_R_C_NL25PCP_L___20080720T000000_200807201T015500_0001_resampledto256x256.nc
     120}}}
     121Copy a subset from the radar file to an AAIGRID file:
     122{{{
     123gdal_translate -of AAIGRID ADAGUC:inputfile.nc:NL25_PCP:time=45 outputfile.asc
     124}}}
    94125----