sharppy / SHARPpy

Sounding/Hodograph Analysis and Research Program in Python
https://sharppy.github.io/SHARPpy/index.html
Other
216 stars 112 forks source link

Different Sounding import/export formats. #125

Closed achaberm closed 5 years ago

achaberm commented 6 years ago

Hello. This is more of an enhancement idea that i was wondering if it would be possible to have multiple formats for sounding importing/exporting that can be read by SHARPpy, e.g CM1/WRF input_sounding, FSL, GSD, IGRA, etc. As i have spent way too many hours trying to convert and/or export these formats that can actually be viewed by SHARPpy. Just want to know if this is possible or not. Thanks.

wblumberg commented 6 years ago

This feature is possible, but someone would have to code it up by mimicking the various decoders that extend from the class specified in decoder.py. Do you already have code to do this?

mitchellkrogza commented 5 years ago

Hi @AlertIowa1234 can you possibly show me an example of an FSL file and how it looks after you converted it. I am new to all of this but interested to be able to use FSL format from the NOAA database.

Here's an FSL format I currently have but not idea what to start doing to it :joy:

    254     12      2      AUG    2018
      1  99999  68263  25.92S 28.22E  1500   1136
      2  10000   2500    976     64  99999      3
      3          FAIR                99999     kt
      9   8510   1500    254    -36    300      6
      4  10000    116  99999  99999  99999  99999
      4   9250    797  99999  99999  99999  99999
      4   8500   1537    236    -34    310      9
      5   8480   1557    214    -46  99999  99999
      5   8440   1598    206    -54  99999  99999
      6   7919   2133  99999  99999    295     13
      6   7637   2438  99999  99999    290     14
      4   7000   3170     60    -80    285     23
      6   6341   3962  99999  99999    265     28
      5   6070   4311    -41   -111  99999  99999
      5   6060   4324    -41   -111  99999  99999
      6   5873   4572  99999  99999    255     38
      5   5770   4711    -21   -211  99999  99999
      5   5640   4891    -31   -291  99999  99999
      6   5435   5181  99999  99999    265     43
      5   5330   5334    -65   -355  99999  99999
      5   5100   5677    -71   -391  99999  99999
      4   5000   5840    -83   -413    280     55
      5   4980   5871    -87   -417  99999  99999
      6   4642   6400  99999  99999    275     55
      6   4282   7010  99999  99999    270     55
      5   4020   7485   -215   -505  99999  99999
      4   4000   7520   -213   -503    275     71
      5   3650   8190   -237   -517  99999  99999
      6   3630   8229  99999  99999    275     73
      6   3333   8839  99999  99999    270     76
      4   3000   9590   -363   -593    265     77
      5   2830   9990   -401   -631  99999  99999
      8   2570  10642  99999  99999    270     93
      4   2500  10830   -447   -657    265     91
      5   2430  11019   -457   -677  99999  99999
      5   2200  11671   -517   -727  99999  99999
      5   2150  11820   -515   -725  99999  99999
      4   2000  12290   -557   -767    260     91
      5   1950  12450   -571   -771  99999  99999
      5   1850  12781   -585   -785  99999  99999
      5   1810  12919   -555   -765  99999  99999
      5   1770  13061   -553   -763  99999  99999
      4   1500  14100   -633   -823    270     77
      5   1420  14434   -659   -829  99999  99999
      5   1160  15650   -685   -855  99999  99999
      5   1040  16294   -739   -889  99999  99999
      4   1000  16530   -745   -905    265     65
      7    976  16671   -755   -905    260     61
      5    797  17864   -691   -851  99999  99999
      5    713  18526   -705   -895  99999  99999
      4    700  18630   -694   -874    270     28
      5    629  19270   -673   -853  99999  99999
      5    610  19457   -621   -821  99999  99999
      5    592  19642   -617   -807  99999  99999
      4    500  20690   -603   -783    245     19
      5    403  22029   -607   -777  99999  99999
      5    371  22541   -619   -759  99999  99999
      5    366  22626   -609   -669  99999  99999
      5    356  22797   -613   -773  99999  99999
      5    346  22973   -619   -779  99999  99999
      4    300  23880   -531   -721    275     28
      5    282  24280   -507   -687  99999  99999
      5    257  24879   -537   -687  99999  99999
wblumberg commented 5 years ago

This thread has been dead for some time now. Closing.