[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[IDV #KDK-897162]: IDV 2.7 and HIRLAM hybrid files
- Subject: [IDV #KDK-897162]: IDV 2.7 and HIRLAM hybrid files
- Date: Mon, 13 Jul 2009 13:52:00 -0600
Robb: what's the status of your work on these issues?
Ersnt:
1) there have been a few bug fixes in version 4.0.48.2.20090708.2010 that are
not yet in idv, you can get from
http://www.unidata.ucar.edu/software/netcdf-java/
in particular:
ftp://ftp.unidata.ucar.edu/pub/netcdf-java/v4.0/ncIdv.jar
should replace the one in the idv classpath
2) heres the way the ncml should work, sorry i didnt notice the problems before:
<netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2"
location="HIRLAMhybrid.grib" >
<variable name="hirlama" shape="hybrid" type="float">
<attribute name="Hirlam level a factor" type="String" value="hirlama"/>
<values> 1003.0280761719 3001.4104003906 4960.2226562500
6836.0625000000 8594.7812500000 10209.9921875000 11661.8281250000
12935.8710937500 14022.3007812500 14915.1914062500 15611.9296875000
16112.7851562500 16420.5507812500 16540.2812500000 16479.0976562500
16246.0195312500 15851.8515625000 15309.0937500000 14631.8203125000
13835.6132812500 12937.4218750000 11955.4335937500 10908.9218750000
9817.9960937500 8703.3828125000 7586.1132812500 6487.1289062500
5426.9101562500 4424.9843750000 3499.3583984375 2665.9750976563
1938.0393066406 1325.3183593750 833.3806152344 462.8203125000
208.4135284424 58.2347869873 3.6336498260 0.0000000000
0.0000000000 </values>
</variable>
<variable name="hirlamb" shape="hybrid" type="float">
<attribute name="Hirlam level b factor" type="String" value="hirlamb"/>
<values> 0.0000000000 0.0000000000 0.0003961772 0.0019210801
0.0051902756 0.0107089467 0.0188779943 0.0300003849 0.0442873947
0.0618649051 0.0827797055 0.1070056558 0.1344501376 0.1649602652
0.1983290315 0.2343018651 0.2725826502 0.3128400445 0.3547138572
0.3978214860 0.4417636395 0.4861312509 0.5305113792 0.5744935274
0.6176761389 0.6596724391 0.7001174092 0.7386732697 0.7750363350
0.8089430332 0.8401762247 0.8685715795 0.8940237164 0.9164925218
0.9360095263 0.9526840448 0.9667096138 0.9783700705 0.9880459309
0.9962207675 </values>
</variable>
<variable name="hybrid">
<attribute name="units" value="" />
<attribute name="long_name"
value="atmosphere_hybrid_sigma_pressure_coordinate"/>
<attribute name="positive" value="down"/>
<attribute name="standard_name"
value="atmosphere_hybrid_sigma_pressure_coordinate"/>
<attribute name="formula_terms" value="ap: hirlama b: hirlamb ps: Pressure "/>
</variable>
<variable name="Relative_humidity" type="float" shape="time hybrid y x">
<attribute name="scale_factor" value="100" type="float"/>
</variable>
</netcdf>
let me know what problems you still see. (btw, i will be gone tommorrow for a
week...)
> Hi John,
>
> I included some material in my last response.
> I'll include it again.
> The ncml-file references a GRIB file you can download from
> http://www.knmi.nl/~vreedede/data/HIRLAMhybrid.grib. (It won't be served
> directly from www.knmi.nl because of some range errors).
>
> You'll probably need the new
> The formula_term with ap is accepted, but the vertical coordinates look
> wrong in toolsUI: all levels have an identical very large number as
> level indicator.
> Also IDV 2.7 does not like this hybrid file, complaining about wrong
> array ranks etc.
>
> What is wrong here?
>
>
> Regards Ernst
>
>
>
> -----Oorspronkelijk bericht-----
> Van: Unidata netCDF Java Support
> [mailto:address@hidden]
> Verzonden: donderdag 9 juli 2009 17:55
> Aan: Vreede de, Ernst (KNMI)
> CC: address@hidden
> Onderwerp: [IDV #KDK-897162]: IDV 2.7 and HIRLAM hybrid files
>
>
> >
> > BTW I noticed that the latest release of netcdf-java also should
> support
> > the formula_terms="ap(i)..." method of defining hybrid pressure
> levels.
> > This also does not seem to work.
>
> Hi Ernst: can you give me an example that doesnt work? thanks
>
> John
>
> Ticket Details
> ===================
> Ticket ID: KDK-897162
> Department: Support netCDF Java
> Priority: High
> Status: Open
>
>
>
Ticket Details
===================
Ticket ID: KDK-897162
Department: Support netCDF Java
Priority: High
Status: Open