OCP ascat grid support

This commit is contained in:
mjames-upc 2019-01-23 11:05:47 -07:00
parent 32e0f45e71
commit bb8e7f2cf2
6 changed files with 77 additions and 8 deletions

View file

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--
This is an absolute override file, indicating that a higher priority
version of the file will completely replace a lower priority version
of the file.
-->
<latLonGridCoverage>
<name>ascat</name>
<description>Global (longitude/latitude grid)</description>
<la1>-67</la1>
<lo1>316.25</lo1>
<firstGridPointCorner>LowerLeft</firstGridPointCorner>
<nx>347</nx>
<ny>537</ny>
<dx>0.249277</dx>
<dy>0.25</dy>
<spacingUnit>degree</spacingUnit>
</latLonGridCoverage>

View file

@ -1,11 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- This_software_was_developed_and_/_or_modified_by_Raytheon_Company, pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA This_software_product_contains_export-restricted_data_whose
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
an_export_license_or_other_authorization. Contractor_Name:________Raytheon_Company
Contractor_Address:_____6825_Pine_Street,_Suite_340 ________________________Mail_Stop_B8
________________________Omaha,_NE_68106 ________________________402.291.0100
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for further_licensing_information. -->
<gribModelSet> <gribModelSet>
<!-- SUBCENTER 0 --> <!-- SUBCENTER 0 -->
@ -2136,7 +2129,7 @@
<!-- END SUBCENTER 5: HYDROMETEROLOGICAL PREDICTION CENTER --> <!-- END SUBCENTER 5: HYDROMETEROLOGICAL PREDICTION CENTER -->
<!-- SUBCENTER 6: MARINE PREDICTION CENTER --> <!-- SUBCENTER 6: OCEAN PREDICTION CENTER -->
<model> <model>
<name>OPCWave${COVERAGE}</name> <name>OPCWave${COVERAGE}</name>
@ -2151,6 +2144,20 @@
</process> </process>
</model> </model>
<!-- ASCAT merged swaths from METOP-A and METOP-B in GRIB2 -->
<model>
<name>ASCAT</name>
<center>7</center>
<subcenter>6</subcenter>
<grids>
<id>ascat</id>
</grids>
<process>
<id>255</id>
</process>
</model>
<!-- END SUBCENTER 6: MARINE PREDICTION CENTER --> <!-- END SUBCENTER 6: MARINE PREDICTION CENTER -->
<!-- SUBCENTER 7: CLIMATE PREDICTION CENTER --> <!-- SUBCENTER 7: CLIMATE PREDICTION CENTER -->

View file

@ -0,0 +1,7 @@
# Product Discipline 3: Space products, Parameter Category 1: Quantitative products
#192-254 Reserved for local use
192:192:Scatterometer Estimated U Wind Component:m/s:SCESTUWIND
193:193:Scatterometer Estimated V Wind Component:m/s:SCESTVWIND
194:194:Scatterometer Wind Quality:-:SWQI
255:255:Missing

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<DerivedParameter unit="m/s" name="SCWind" abbreviation="SCWind">
<Method name="Vector">
<Field abbreviation="SCESTUWIND" unit="m/s" />
<Field abbreviation="SCESTVWIND" unit="m/s" />
</Method>
</DerivedParameter>

View file

@ -0,0 +1,28 @@
#!/bin/bash
dir="$( cd "$(dirname "$0")" ; pwd -P )"
. /etc/profile.d/awips2.sh
# Retrieves ASCAT grib2 for EDEX
# New file is posted approx. once per hour at 5-8 min past the hour
# best use is to run once per hour at 10 or 15 minutes past
HOST='ftp.opc.ncep.noaa.gov'
USER='anonymous'
PASSWD='mjames@ucar.edu'
ftp -n -v $HOST << EOT > ftp.filelist
ascii
user $USER $PASSWD
prompt
cd data/ascat_ab
ls
bye
EOT
for file in $(cat ftp.filelist |grep grb2|grep -v latest| cut -c 57-); do
if [ ! -f $file ]; then
wget ftp://$HOST:/data/ascat_ab/$file
/awips2/edex/bin/qpidNotify.py $dir/$file grib
fi
done

View file

@ -4,3 +4,5 @@
# nex2gini for daa and dta (lower case) # nex2gini for daa and dta (lower case)
#0,5,10,15,17,20,25,30,35,40,45,50,55 * * * * /awips2/ldm/bin/gini daa >& /dev/null 2>&1 #0,5,10,15,17,20,25,30,35,40,45,50,55 * * * * /awips2/ldm/bin/gini daa >& /dev/null 2>&1
#0,5,10,15,17,20,25,30,35,40,45,50,55 * * * * /awips2/ldm/bin/gini dta >& /dev/null 2>&1 #0,5,10,15,17,20,25,30,35,40,45,50,55 * * * * /awips2/ldm/bin/gini dta >& /dev/null 2>&1
# ascat grib2
#10 * * * * /awips2/ldm/bin/ascat_grib.sh >& /dev/null 2>&1