The gribtab table can be found in the Readme document.
Tuesday, January 13, 2009
How to decode the gldas Noah data?
gldas data is in grib1 format. It contains data types that cannot be recognized by ncl_convert2nc. Thus, we can only extract variables using wgrib.
Saturday, January 10, 2009
ifort error
See my origin post http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/a168181d1bd0481a?hl=en#.
I found these in Intel website.
I found these in Intel website.
Segmentation Violation with static link to libpthreads
Applications built with libpthreads.a statically linked, (libpthreads.a is used by default when -static is used), may fail with a segmentation violation on some versions of Linux when the applications use more than 2MB of stack space. This is a known limitation of Linuxthreads. If you encounter this problem, link libpthreads dynamically. As an alternative, on Red Hat Linux 9 and Red Hat Enterprise Linux 3.0, you can install the nptl-devel
package and pass "-I/usr/include/nptl -L/usr/lib/nptl
" on the ifort command line. This will create a statically-linked binary which will run under nptl only, but which does not have the stack size limitation.
Thursday, January 08, 2009
ncl does not recognize gldas grib files
wgrib gives:
tianyf@tyf ~/gldas]$ wgrib -s GLDAS_NOAH025_M.A200701.001.grb
1:0:d=07010100:NSWRS:sfc:0-3hr ave:NAve=12
2:563720:d=07010100:NLWRS:sfc:0-3hr ave:NAve=12
3:1097066:d=07010100:LHTFL:sfc:0-3hr ave:NAve=12
4:1660786:d=07010100:SHTFL:sfc:0-3hr ave:NAve=12
Undefined parameter table (center 221-221 table 1), using NCEP-opn
5:2224506:d=07010100:GFLUX:sfc:0-3hr ave:NAve=12
6:2727476:d=07010100:LFTX:sfc:anl:NAve=12
7:3291196:d=07010100:4LFTX:sfc:anl:NAve=12
8:3885292:d=07010100:EVP:sfc:anl:NAve=12
9:4388262:d=07010100:SSRUN:sfc:anl:NAve=12
10:4951982:d=07010100:BGRUN:sfc:anl:NAve=12
11:5546078:d=07010100:SNOM:sfc:0-3hr ave:NAve=12
12:5988298:d=07010100:BVF2:sfc:anl:NAve=12
13:6521644:d=07010100:WEASD:sfc:anl:NAve=12
14:7115740:d=07010100:TSOIL:0-4 cm down:anl:NAve=12
15:7649086:d=07010100:TSOIL:0-3 cm down:anl:NAve=12
16:8182432:d=07010100:TSOIL:0-2 cm down:anl:NAve=12
17:8715778:d=07010100:TSOIL:0-1 cm down:anl:NAve=12
18:9218748:d=07010100:SOILM:0-4 cm down:anl:NAve=12
19:9812844:d=07010100:SOILM:0-3 cm down:anl:NAve=12
20:10406940:d=07010100:SOILM:0-2 cm down:anl:NAve=12
21:11001036:d=07010100:SOILM:0-1 cm down:anl:NAve=12
22:11595132:d=07010100:TCDC:sfc:anl:NAve=12
23:12098102:d=07010100:WIND:sfc:anl:NAve=12
24:12540322:d=07010100:TMP:sfc:anl:NAve=12
25:13043292:d=07010100:SPFH:sfc:anl:NAve=12
26:13303258:d=07010100:PRES:sfc:anl:NAve=12
27:13897354:d=07010100:DSWRF:sfc:0-3hr ave:NAve=12
28:14491450:d=07010100:DLWRF:sfc:0-3hr ave:NAve=12
However, when convert it to .nc format using ncl,
[tianyf@tyf ~/gldas]$ ncl_convert2nc GLDAS_NOAH025_M.A200701.001.grb -v weasd
Processing file: GLDAS_NOAH025_M.A200701.001.grb...
Copyright (C) 1995-2007 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 5.0.0
The use of this software is governed by a License Agreement.
See http://www.ncl.ucar.edu/ for more details.
warning:NclGRIB: Unknown grib parameter number detected (155, center 221, table version 1 grib record 5), using default variable name (VAR_155)
warning:NclGRIB: Unknown grib parameter number detected (131, center 221, table version 1 grib record 6), using default variable name (VAR_131)
warning:NclGRIB: Unknown grib parameter number detected (132, center 221, table version 1 grib record 7), using default variable name (VAR_132)
warning:NclGRIB: Unknown grib parameter number detected (235, center 221, table version 1 grib record 9), using default variable name (VAR_235)
warning:NclGRIB: Unknown grib parameter number detected (234, center 221, table version 1 grib record 10), using default variable name (VAR_234)
warning:NclGRIB: Unknown grib parameter number detected (138, center 221, table version 1 grib record 12), using default variable name (VAR_138)
warning:NclGRIB: Unknown grib parameter number detected (204, center 221, table version 1 grib record 27), using default variable name (VAR_204)
warning:NclGRIB: Unknown grib parameter number detected (205, center 221, table version 1 grib record 28), using default variable name (VAR_205)
warning:getfilevartypes: variable (weasd) does not exist in file (GLDAS_NOAH025_M.A200701.001)
fatal:The result of the conditional expression yields a missing value. NCL can not determine branch, see ismissing function
fatal:Execute: Error occurred at or near line 351 in file /tmp/tmp8895.ncl
ncl does handle other grib file correctly,
[tianyf@tyf ~/ds607]$ ncl_convert2nc 19981201.NOAH_d.grb
Processing file: 19981201.NOAH_d.grb...
Copyright (C) 1995-2007 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 5.0.0
The use of this software is governed by a License Agreement.
See http://www.ncl.ucar.edu/ for more details.
Thus, I can only use wgrib to extract variables from grib files.
wgrib -s GLDAS_NOAH025_M.A200701.001.grb | grep WEASD | wgrib -i -s -text GLDAS_NOAH025_M.A200701.001.grb -o o
tianyf@tyf ~/gldas]$ wgrib -s GLDAS_NOAH025_M.A200701.001.grb
1:0:d=07010100:NSWRS:sfc:0-3hr ave:NAve=12
2:563720:d=07010100:NLWRS:sfc:0-3hr ave:NAve=12
3:1097066:d=07010100:LHTFL:sfc:0-3hr ave:NAve=12
4:1660786:d=07010100:SHTFL:sfc:0-3hr ave:NAve=12
Undefined parameter table (center 221-221 table 1), using NCEP-opn
5:2224506:d=07010100:GFLUX:sfc:0-3hr ave:NAve=12
6:2727476:d=07010100:LFTX:sfc:anl:NAve=12
7:3291196:d=07010100:4LFTX:sfc:anl:NAve=12
8:3885292:d=07010100:EVP:sfc:anl:NAve=12
9:4388262:d=07010100:SSRUN:sfc:anl:NAve=12
10:4951982:d=07010100:BGRUN:sfc:anl:NAve=12
11:5546078:d=07010100:SNOM:sfc:0-3hr ave:NAve=12
12:5988298:d=07010100:BVF2:sfc:anl:NAve=12
13:6521644:d=07010100:WEASD:sfc:anl:NAve=12
14:7115740:d=07010100:TSOIL:0-4 cm down:anl:NAve=12
15:7649086:d=07010100:TSOIL:0-3 cm down:anl:NAve=12
16:8182432:d=07010100:TSOIL:0-2 cm down:anl:NAve=12
17:8715778:d=07010100:TSOIL:0-1 cm down:anl:NAve=12
18:9218748:d=07010100:SOILM:0-4 cm down:anl:NAve=12
19:9812844:d=07010100:SOILM:0-3 cm down:anl:NAve=12
20:10406940:d=07010100:SOILM:0-2 cm down:anl:NAve=12
21:11001036:d=07010100:SOILM:0-1 cm down:anl:NAve=12
22:11595132:d=07010100:TCDC:sfc:anl:NAve=12
23:12098102:d=07010100:WIND:sfc:anl:NAve=12
24:12540322:d=07010100:TMP:sfc:anl:NAve=12
25:13043292:d=07010100:SPFH:sfc:anl:NAve=12
26:13303258:d=07010100:PRES:sfc:anl:NAve=12
27:13897354:d=07010100:DSWRF:sfc:0-3hr ave:NAve=12
28:14491450:d=07010100:DLWRF:sfc:0-3hr ave:NAve=12
However, when convert it to .nc format using ncl,
[tianyf@tyf ~/gldas]$ ncl_convert2nc GLDAS_NOAH025_M.A200701.001.grb -v weasd
Processing file: GLDAS_NOAH025_M.A200701.001.grb...
Copyright (C) 1995-2007 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 5.0.0
The use of this software is governed by a License Agreement.
See http://www.ncl.ucar.edu/ for more details.
warning:NclGRIB: Unknown grib parameter number detected (155, center 221, table version 1 grib record 5), using default variable name (VAR_155)
warning:NclGRIB: Unknown grib parameter number detected (131, center 221, table version 1 grib record 6), using default variable name (VAR_131)
warning:NclGRIB: Unknown grib parameter number detected (132, center 221, table version 1 grib record 7), using default variable name (VAR_132)
warning:NclGRIB: Unknown grib parameter number detected (235, center 221, table version 1 grib record 9), using default variable name (VAR_235)
warning:NclGRIB: Unknown grib parameter number detected (234, center 221, table version 1 grib record 10), using default variable name (VAR_234)
warning:NclGRIB: Unknown grib parameter number detected (138, center 221, table version 1 grib record 12), using default variable name (VAR_138)
warning:NclGRIB: Unknown grib parameter number detected (204, center 221, table version 1 grib record 27), using default variable name (VAR_204)
warning:NclGRIB: Unknown grib parameter number detected (205, center 221, table version 1 grib record 28), using default variable name (VAR_205)
warning:getfilevartypes: variable (weasd) does not exist in file (GLDAS_NOAH025_M.A200701.001)
fatal:The result of the conditional expression yields a missing value. NCL can not determine branch, see ismissing function
fatal:Execute: Error occurred at or near line 351 in file /tmp/tmp8895.ncl
ncl does handle other grib file correctly,
[tianyf@tyf ~/ds607]$ ncl_convert2nc 19981201.NOAH_d.grb
Processing file: 19981201.NOAH_d.grb...
Copyright (C) 1995-2007 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 5.0.0
The use of this software is governed by a License Agreement.
See http://www.ncl.ucar.edu/ for more details.
Thus, I can only use wgrib to extract variables from grib files.
wgrib -s GLDAS_NOAH025_M.A200701.001.grb | grep WEASD | wgrib -i -s -text GLDAS_NOAH025_M.A200701.001.grb -o o
Acrobat 7 quit problem.
Error "the application is being terminated because of memory corruption" when you exit Acrobat 7 (on Windows)
Issue
When you exit Acrobat 7, Acrobat returns the error message,"the application is being terminated because of memory corruption."
Solutions
Do one of the following solutions:
Solution 1: Install the Acrobat 7.0.8 update.
If you have Acrobat 7.0, choose Help > Check For Updates Now to install the update. Alternately, you can download the update from the Adobe website at www.adobe.com/downloads/ .
Solution 2: Remove the files from theAcrobat Organizer folder.
When you remove files from the Acrobat Organizer folder, you force Acrobat to rebuild the Organizer database. This process replaces any damaged files in the Organizer that may be causing the error message.
To remove the files from the Acrobat Organizer folder:
1.Choose Start > Run.
2.In the Open text box, type:%UserProfile%\Application Data\Adobe\Acrobat\7.0\Organizer70.
3.Delete or move all filesfrom this directory.
Solution3: Remove the files from the Updaterfolder.
You may receive this error message after a failed update, indicating that the files in the Updater folder are corrupted.
To remove the files from the Updater folder:
1. Choose Start > Run.
2. In the Open text box, type:%UserProfile%\Application Data\Adobe\Acrobat\7.0\Updater.
3. Delete or move all the files fromthis directory.
Background information
In rare instances, the Acrobat 7.0.0 or 7.0.1 Organizer database is corrupted on exit if the update manager has been run. This issue is resolved in the Acrobat 7.0.5 update.
Issue
When you exit Acrobat 7, Acrobat returns the error message,"the application is being terminated because of memory corruption."
Solutions
Do one of the following solutions:
Solution 1: Install the Acrobat 7.0.8 update.
If you have Acrobat 7.0, choose Help > Check For Updates Now to install the update. Alternately, you can download the update from the Adobe website at www.adobe.com/downloads/ .
Solution 2: Remove the files from theAcrobat Organizer folder.
When you remove files from the Acrobat Organizer folder, you force Acrobat to rebuild the Organizer database. This process replaces any damaged files in the Organizer that may be causing the error message.
To remove the files from the Acrobat Organizer folder:
1.Choose Start > Run.
2.In the Open text box, type:%UserProfile%\Application Data\Adobe\Acrobat\7.0\Organizer70.
3.Delete or move all filesfrom this directory.
Solution3: Remove the files from the Updaterfolder.
You may receive this error message after a failed update, indicating that the files in the Updater folder are corrupted.
To remove the files from the Updater folder:
1. Choose Start > Run.
2. In the Open text box, type:%UserProfile%\Application Data\Adobe\Acrobat\7.0\Updater.
3. Delete or move all the files fromthis directory.
Background information
In rare instances, the Acrobat 7.0.0 or 7.0.1 Organizer database is corrupted on exit if the update manager has been run. This issue is resolved in the Acrobat 7.0.5 update.
Wednesday, January 07, 2009
info of my nb
--------[ Summary ]-----------------------------------------------------------------------------------------------------
Computer:
Computer Type ACPI Multiprocessor PC (Mobile)
Operating System Microsoft Windows XP Professional
OS Service Pack Service Pack 2
Internet Explorer 6.0.2900.2180 (IE 6.0 SP2)
DirectX 4.09.00.0904 (DirectX 9.0c)
Motherboard:
CPU Type Mobile DualCore Intel Core 2 Duo T5500, 1666 MHz (10 x 167)
Motherboard Name Hewlett-Packard HP Compaq nx6330 (RQ708PA#AB2)
Motherboard Chipset Mobile Intel Calistoga-PM i945PM
System Memory 3072 MB (DDR2-667 DDR2 SDRAM)
DIMM1: Kingston 99U5295-011.A00LF 2 GB DDR2-667 DDR2 SDRAM (5-5-5-15 @ 333 MHz) (4-4-4-12 @ 266 MHz) (3-3-3-9 @ 200 MHz)
DIMM3: Kingston 1 GB DDR2-667 DDR2 SDRAM (5-5-5-15 @ 333 MHz) (4-4-4-12 @ 266 MHz) (3-3-3-9 @ 200 MHz)
BIOS Type Compaq (07/31/07)
Display:
Video Adapter ATI Mobility Radeon X1300 (512 MB)
Video Adapter ATI Mobility Radeon X1300 (512 MB)
3D Accelerator ATI Mobility Radeon X1300 (M52)
Monitor Generic Television
Monitor LG Philips LP141WX1-TLA1 [14.1" LCD]
Multimedia:
Audio Adapter Analog Devices AD1981HD @ Intel 82801GBM ICH7-M - High Definition Audio Controller [A-1]
Storage:
IDE Controller Intel(R) 82801G (ICH7 Family) Ultra ATA Storage Controllers - 27DF
IDE Controller Intel(R) 82801GBM SATA AHCI Controller
Storage Controller ALNVHAHV IDE Controller
Disk Drive TOSHIBA MK8034GSX (60 GB, 5400 RPM, SATA)
Optical Drive JAPWFQZ X6F89QR0 SCSI CdRom Device
Optical Drive MATSHITA UJDA770 DVD/CDRW (DVD:8x, CD:24x/24x/24x DVD-ROM/CD-RW)
SMART Hard Disks Status OK
Partitions:
C: (NTFS) 15001 MB (1293 MB free)
D: (NTFS) 20487 MB (2341 MB free)
E: (NTFS) 9996 MB (413 MB free)
F: (NTFS) 3750 MB (1039 MB free)
H: (NTFS) 9501 MB (2823 MB free)
Total Size 58735 MB (7909 MB free)
Input:
Keyboard HID Keyboard Device
Keyboard Standard 101/102-Key or Microsoft Natural PS/2 Keyboard
Mouse HID-compliant mouse
Mouse Synaptics PS/2 Port TouchPad
Network:
Primary IP Address 192.168.11.23
Primary MAC Address 00-17-A4-DA-C9-61
Network Adapter Broadcom NetLink (TM) Gigabit Ethernet (192.168.11.23)
Network Adapter Intel(R) PRO/Wireless 3945ABG Network Connection
Network Adapter VMware Virtual Ethernet Adapter for VMnet8 (192.168.213.1)
Modem Agere Systems HDA Modem
Peripherals:
Printer HP LaserJet 1020
Printer LaserJet 1010 Series Driver
Printer Adobe PDF
Printer Auto HP LaserJet 1020 on JIANG
Printer HP LaserJet 1020
Printer HP Mobile Printing PS
Printer Microsoft Office Document Image Writer
Printer Microsoft XPS Document Writer
Printer PDFConverter
USB1 Controller Intel 82801GBM ICH7-M - USB Universal Host Controller [A-1]
USB1 Controller Intel 82801GBM ICH7-M - USB Universal Host Controller [A-1]
USB1 Controller Intel 82801GBM ICH7-M - USB Universal Host Controller [A-1]
USB1 Controller Intel 82801GBM ICH7-M - USB Universal Host Controller [A-1]
USB2 Controller Intel 82801GBM ICH7-M - Enhanced USB2 Controller [A-1]
USB Device USB Human Interface Device
Battery Microsoft AC Adapter
Battery Microsoft ACPI-Compliant Control Method Battery
Battery Microsoft ACPI-Compliant Control Method Battery
DMI:
DMI BIOS Vendor Hewlett-Packard
DMI BIOS Version 68YTS Ver. F.08
DMI System Manufacturer Hewlett-Packard
DMI System Product HP Compaq nx6330 (RQ708PA#AB2)
DMI System Version F.08
DMI System Serial Number
DMI System UUID 13F32941-97D7DD11-2B906D99-0E144529
DMI Motherboard Manufacturer Hewlett-Packard
DMI Motherboard Product 0A4C
DMI Motherboard Version KBC Version 63.09
DMI Motherboard Serial Number
DMI Chassis Manufacturer Hewlett-Packard
DMI Chassis Version
DMI Chassis Serial Number
DMI Chassis Asset Tag
DMI Chassis Type Notebook
Tuesday, January 06, 2009
Monday, January 05, 2009
Subscribe to:
Posts (Atom)