Notice: wiki.ucar.edu has been updated. Please see the announcement for details.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Where all tiles are 1024x1024

NOTE: These charts were created using the following function that can be modified to read other times and regions

Code Block
#! /bin/bash

for f in /home/ldm/rapdmg1/data/goesr/2017/0320/S02/20170320_1527_TIRC_S02_P*; do
  echo $f
  ncl_filedump $f | grep -A 3 "^dimensions"
  ncl_filedump $f | grep tile | grep offset
done

 

 

TIRP

Every 30 minutes on 06 and 36

...

AG, AH are 1024x786

AI is 78x786 

Script to generate

...

the number of tiles per sensor statistics
Expand
Code Block
languagepy
#! /usr/bin/env python
import os
import glob
regions = ("TISI", "TISJ", "TIRC", "TIRP", "TIRU")
top_dir = "/home/ldm/rapdmg1/data/goesr/2017/0319"
for r in regions:
  print r
  line = ""
  for sensor in range(1,17):
    line += "S{:02d}  ".format(sensor)
  print line
  for h in range(0,24):
    for m in range(0,60,6):
      items=[]
      for sensor in range(1,17):
        sdir="{:s}/S{:02d}".format(top_dir,sensor)
        files="{:s}/*{:02d}{:02d}_{:s}*".format(sdir,h,m,r)
        items.append(len(glob.glob(files)))
      all_zero = True
      for i in items:
          if i != 0:
              all_zero = False
      if not all_zero:
        print "{:02d}{:02d}".format(h,m)
        line = ""
        for i in items:
            line +=str(i) + "    "
        print line
  print "\n"
 
Script to generate tile dimension information

These charts were created using the following code that can be modified to read other times and regions

Expand
Code Block
#! /bin/bash

for f in /home/ldm/rapdmg1/data/goesr/2017/0320/S02/20170320_1527_TIRC_S02_P*; do
  echo $f
  ncl_filedump $f | grep -A 3 "^dimensions"
  ncl_filedump $f | grep tile | grep offset
done


 

Other Notes

  • If the chomp.py script is run given a file that doesn't exist, the exception causes an error instead of handling it properly

...