|
OPeNDAP Hyrax Back End Server (BES)
Updated for version 3.8.3
|
One instance of this class represents one SDS object. More...
#include <HDFSP.h>


Public Member Functions | |
| const std::vector< Attribute * > & | getAttributes () const |
| Get the attributes of this field. More... | |
| const std::string | getCoordinate () const |
| Get the "coordinates" attribute. More... | |
| const std::vector< Dimension * > & | getCorrectedDimensions () const |
| Get the list of the corrected dimensions. More... | |
| std::vector< Dimension * > * | getCorrectedDimensionsPtr () |
| Get the list of the corrected dimension ptrs. More... | |
| const std::vector< Dimension * > & | getDimensions () const |
| Get the list of dimensions. More... | |
| const std::vector< AttrContainer * > & | getDimInfo () const |
| Get the list of OHTERHDF dimension attribute container information. More... | |
| int32 | getFieldRef () const |
| const int | getFieldType () const |
| const std::string & | getName () const |
| Get the name of this field. More... | |
| const std::string & | getNewName () const |
| Get the CF name(special characters replaced by underscores) of this field. More... | |
| int32 | getRank () const |
| Get the dimension rank of this field. More... | |
| const std::string | getSpecFullPath () const |
| This function returns the full path of some special products that have a very long path. More... | |
| int32 | getType () const |
| Get the data type of this field. More... | |
| const std::string | getUnits () const |
| Get the "units" attribute. More... | |
| bool | IsDimNoScale () const |
| Is this field a dimension without dimension scale(or empty[no data]dimension variable) More... | |
| bool | IsDimScale () const |
| Is this field a dimension scale field? More... | |
| SDField () | |
| void | setCoordinates (std::string coor) |
| Set the coordinate attribute. More... | |
| void | setCorrectedDimensions (std::vector< Dimension * >dims) |
| Set the list of the corrected dimensions. More... | |
| void | setUnits (std::string uni) |
| ~SDField () | |
Protected Attributes | |
| std::vector< Attribute * > | attrs |
| The attributes of this field. More... | |
| bool | condenseddim |
| condenseddim is to condense 2-D lat/lon to 1-D lat/lon for geographic projections. This can greatly reduce the access time of visualization clients. More... | |
| std::string | coordinates |
| std::vector< Dimension * > | correcteddims |
| Corrected dimensions of this field. The only difference between the correcteddims and dims is the correcteddims uses the CF form of the dimension names whereas the dims uses the original dimension names. More... | |
| std::vector< Dimension * > | dims |
| Dimensions of this field. More... | |
| std::vector< AttrContainer * > | dims_info |
| OTHERHDF dimension information. See the description of the class AttrContainer. More... | |
| int32 | fieldref |
| SDS reference number. This and the object tag are a key to identify a SDS object. More... | |
| int | fieldtype |
| This flag will specify the fieldtype. 0 means this field is general field. 1 means this field is lat. 2 means this field is lon. 3 means this field is other dimension coordinate variable. 4 means this field is added other dimension coordinate variable with nature number. More... | |
| bool | is_dim_scale |
| This is a SDS dimension scale. More... | |
| bool | is_noscale_dim |
| Some fields have dimensions but don't have dimension scales. In HDF4, such dimension appears as a field but no data. So this kind of field needs special treatments. This flag is to identify such a field. More... | |
| std::string | name |
| The original name of this field. More... | |
| std::string | newname |
| The CF full path(special characters replaced by underscores) of this field. More... | |
| int32 | rank |
| The rank of this field. More... | |
| std::string | rootfieldname |
| In some TRMM versions, latitude and longitude are combined into one field geolocation. This variable is to remember the root field for latitude and longitude. More... | |
| std::string | special_product_fullpath |
| This string provides the full path of a field for some products that have long path. The reasons we provide this string is as follows: 1) Some products(CERES) contain many variables and some field paths may be very long. For example,a path in a CERES file is "/Monthly 3-Hourly Averages/D2-like 9 Cloud Types/Deep Convection (High, Thick)/Ice Water Path - Deep Convection - MH". There are almost a 100 variables like this long path in this file. This will make DDS and DAS containers very huge and choke netCDF Java clients. So to avoid such cases, we provide a BES key so that by default only short names are provided. However, we still want to preserve the original path. So we include this special_product_fullpath to record this and output to DAS. 2) We decide not to use newname since as shown above, the CF form of the path is very different than the original path. KY 2013-07-02. More... | |
| int32 | type |
| The datatype of this field. More... | |
| std::string | units |
| The "units" attribute. More... | |
Friends | |
| class | File |
| class | SD |
|
inlineinherited |
Get the attributes of this field.
Definition at line 314 of file HDFSP.h.
References HDFSP::Field::attrs.
Referenced by HDFCFUtil::add_obpg_special_attrs().
|
inline |
|
inline |
Get the list of the corrected dimensions.
Definition at line 357 of file HDFSP.h.
References correcteddims.
Referenced by read_dds_spfields().
|
inline |
Get the list of the corrected dimension ptrs.
Definition at line 363 of file HDFSP.h.
References correcteddims.
|
inline |
Get the list of dimensions.
Definition at line 411 of file HDFSP.h.
References dims.
Referenced by read_dds_spfields().
|
inline |
|
inline |
|
inline |
Definition at line 399 of file HDFSP.h.
References fieldtype.
Referenced by HDFCFUtil::add_obpg_special_attrs(), and read_dds_spfields().
|
inlineinherited |
Get the name of this field.
Definition at line 290 of file HDFSP.h.
References HDFSP::Field::name.
Referenced by HDFSP::File::PrepareTRMML3A_V6(), HDFSP::File::PrepareTRMML3C_V6(), read_dds_spfields(), and read_dds_spvdfields().
|
inlineinherited |
Get the CF name(special characters replaced by underscores) of this field.
Definition at line 296 of file HDFSP.h.
References HDFSP::Field::newname.
Referenced by HDFCFUtil::add_obpg_special_attrs(), read_dds_spfields(), and read_dds_spvdfields().
|
inlineinherited |
Get the dimension rank of this field.
Definition at line 302 of file HDFSP.h.
References HDFSP::Field::rank.
Referenced by read_dds_spfields().
|
inline |
This function returns the full path of some special products that have a very long path.
Definition at line 436 of file HDFSP.h.
References special_product_fullpath.
|
inlineinherited |
Get the data type of this field.
Definition at line 308 of file HDFSP.h.
References HDFSP::Field::type.
Referenced by HDFCFUtil::add_obpg_special_attrs(), read_dds_spfields(), and read_dds_spvdfields().
|
inline |
|
inline |
Is this field a dimension without dimension scale(or empty[no data]dimension variable)
Definition at line 424 of file HDFSP.h.
References is_noscale_dim.
Referenced by read_dds_spfields().
|
inline |
Is this field a dimension scale field?
Definition at line 430 of file HDFSP.h.
References is_dim_scale.
|
inline |
|
inline |
Set the list of the corrected dimensions.
Definition at line 369 of file HDFSP.h.
References correcteddims, and dims.
|
inline |
Definition at line 393 of file HDFSP.h.
References units.
Referenced by HDFSP::File::Handle_AIRS_L23().
|
protectedinherited |
The attributes of this field.
Definition at line 335 of file HDFSP.h.
Referenced by HDFSP::Field::getAttributes(), HDFSP::SD::Read(), and HDFSP::SD::Read_Hybrid().
|
protected |
|
protected |
Definition at line 453 of file HDFSP.h.
Referenced by getCoordinate(), and setCoordinates().
|
protected |
Corrected dimensions of this field. The only difference between the correcteddims and dims is the correcteddims uses the CF form of the dimension names whereas the dims uses the original dimension names.
Definition at line 448 of file HDFSP.h.
Referenced by getCorrectedDimensions(), getCorrectedDimensionsPtr(), HDFSP::File::handle_sds_missing_fields(), HDFSP::File::PrepareCERSAVGID(), HDFSP::File::PrepareCERZAVG(), HDFSP::File::PrepareOBPGL3(), HDFSP::File::PrepareTRMML2_V6(), HDFSP::File::PrepareTRMML2_V7(), HDFSP::File::PrepareTRMML3A_V6(), HDFSP::File::PrepareTRMML3B_V6(), HDFSP::File::PrepareTRMML3C_V6(), HDFSP::File::PrepareTRMML3M_V7(), HDFSP::File::PrepareTRMML3S_V7(), HDFSP::SD::Read_Hybrid(), and setCorrectedDimensions().
|
protected |
Dimensions of this field.
Definition at line 443 of file HDFSP.h.
Referenced by getDimensions(), HDFSP::File::Handle_AIRS_L23(), HDFSP::File::handle_sds_missing_fields(), HDFSP::File::PrepareCERSAVGID(), HDFSP::File::PrepareCERZAVG(), HDFSP::File::PrepareOBPGL3(), HDFSP::File::PrepareTRMML2_V6(), HDFSP::File::PrepareTRMML2_V7(), HDFSP::File::PrepareTRMML3A_V6(), HDFSP::File::PrepareTRMML3B_V6(), HDFSP::File::PrepareTRMML3C_V6(), HDFSP::File::PrepareTRMML3M_V7(), HDFSP::File::PrepareTRMML3S_V7(), HDFSP::SD::Read(), HDFSP::SD::Read_Hybrid(), and setCorrectedDimensions().
|
protected |
OTHERHDF dimension information. See the description of the class AttrContainer.
Definition at line 451 of file HDFSP.h.
Referenced by getDimInfo(), and HDFSP::SD::Read().
|
protected |
SDS reference number. This and the object tag are a key to identify a SDS object.
Definition at line 479 of file HDFSP.h.
Referenced by getFieldRef(), HDFSP::File::PrepareTRMML2_V6(), HDFSP::File::PrepareTRMML3M_V7(), HDFSP::SD::Read(), and HDFSP::SD::Read_Hybrid().
|
protected |
This flag will specify the fieldtype. 0 means this field is general field. 1 means this field is lat. 2 means this field is lon. 3 means this field is other dimension coordinate variable. 4 means this field is added other dimension coordinate variable with nature number.
Definition at line 461 of file HDFSP.h.
Referenced by getFieldType(), HDFSP::File::Handle_AIRS_L23(), HDFSP::File::handle_sds_missing_fields(), HDFSP::File::PrepareCERSAVGID(), HDFSP::File::PrepareCERZAVG(), HDFSP::File::PrepareOBPGL3(), HDFSP::File::PrepareTRMML2_V6(), HDFSP::File::PrepareTRMML2_V7(), HDFSP::File::PrepareTRMML3A_V6(), HDFSP::File::PrepareTRMML3B_V6(), HDFSP::File::PrepareTRMML3C_V6(), HDFSP::File::PrepareTRMML3M_V7(), and HDFSP::File::PrepareTRMML3S_V7().
|
protected |
|
protected |
Some fields have dimensions but don't have dimension scales. In HDF4, such dimension appears as a field but no data. So this kind of field needs special treatments. This flag is to identify such a field.
Definition at line 486 of file HDFSP.h.
Referenced by IsDimNoScale(), and HDFSP::SD::Read().
|
protectedinherited |
The original name of this field.
Definition at line 326 of file HDFSP.h.
Referenced by HDFSP::Field::getName(), HDFSP::File::Handle_AIRS_L23(), HDFSP::File::handle_sds_missing_fields(), HDFSP::File::PrepareCERSAVGID(), HDFSP::File::PrepareCERZAVG(), HDFSP::File::PrepareOBPGL3(), HDFSP::File::PrepareTRMML2_V6(), HDFSP::File::PrepareTRMML2_V7(), HDFSP::File::PrepareTRMML3A_V6(), HDFSP::File::PrepareTRMML3B_V6(), HDFSP::File::PrepareTRMML3C_V6(), HDFSP::File::PrepareTRMML3M_V7(), HDFSP::File::PrepareTRMML3S_V7(), HDFSP::SD::Read(), HDFSP::VDATA::Read(), and HDFSP::SD::Read_Hybrid().
|
protectedinherited |
The CF full path(special characters replaced by underscores) of this field.
Definition at line 323 of file HDFSP.h.
Referenced by HDFSP::Field::getNewName(), HDFSP::File::Handle_AIRS_L23(), HDFSP::File::handle_sds_missing_fields(), HDFSP::File::PrepareCERSAVGID(), HDFSP::File::PrepareCERZAVG(), HDFSP::File::PrepareOBPGL3(), HDFSP::File::PrepareTRMML2_V6(), HDFSP::File::PrepareTRMML2_V7(), HDFSP::File::PrepareTRMML3A_V6(), HDFSP::File::PrepareTRMML3B_V6(), HDFSP::File::PrepareTRMML3C_V6(), HDFSP::File::PrepareTRMML3M_V7(), HDFSP::File::PrepareTRMML3S_V7(), HDFSP::SD::Read(), HDFSP::VDATA::Read(), and HDFSP::SD::Read_Hybrid().
|
protectedinherited |
The rank of this field.
Definition at line 332 of file HDFSP.h.
Referenced by HDFSP::Field::getRank(), HDFSP::File::Handle_AIRS_L23(), HDFSP::File::handle_sds_missing_fields(), HDFSP::File::PrepareCERSAVGID(), HDFSP::File::PrepareCERZAVG(), HDFSP::File::PrepareOBPGL3(), HDFSP::File::PrepareTRMML2_V6(), HDFSP::File::PrepareTRMML2_V7(), HDFSP::File::PrepareTRMML3A_V6(), HDFSP::File::PrepareTRMML3B_V6(), HDFSP::File::PrepareTRMML3C_V6(), HDFSP::File::PrepareTRMML3M_V7(), HDFSP::File::PrepareTRMML3S_V7(), HDFSP::SD::Read(), HDFSP::VDATA::Read(), and HDFSP::SD::Read_Hybrid().
|
protected |
In some TRMM versions, latitude and longitude are combined into one field geolocation. This variable is to remember the root field for latitude and longitude.
Definition at line 493 of file HDFSP.h.
Referenced by HDFSP::File::PrepareTRMML2_V6().
|
protected |
This string provides the full path of a field for some products that have long path. The reasons we provide this string is as follows: 1) Some products(CERES) contain many variables and some field paths may be very long. For example,a path in a CERES file is "/Monthly 3-Hourly Averages/D2-like 9 Cloud Types/Deep Convection (High, Thick)/Ice Water Path - Deep Convection - MH". There are almost a 100 variables like this long path in this file. This will make DDS and DAS containers very huge and choke netCDF Java clients. So to avoid such cases, we provide a BES key so that by default only short names are provided. However, we still want to preserve the original path. So we include this special_product_fullpath to record this and output to DAS. 2) We decide not to use newname since as shown above, the CF form of the path is very different than the original path. KY 2013-07-02.
Definition at line 476 of file HDFSP.h.
Referenced by getSpecFullPath().
|
protectedinherited |
The datatype of this field.
Definition at line 329 of file HDFSP.h.
Referenced by HDFSP::Field::getType(), HDFSP::File::Handle_AIRS_L23(), HDFSP::File::handle_sds_missing_fields(), HDFSP::File::PrepareCERSAVGID(), HDFSP::File::PrepareCERZAVG(), HDFSP::File::PrepareOBPGL3(), HDFSP::File::PrepareTRMML2_V6(), HDFSP::File::PrepareTRMML2_V7(), HDFSP::File::PrepareTRMML3A_V6(), HDFSP::File::PrepareTRMML3B_V6(), HDFSP::File::PrepareTRMML3C_V6(), HDFSP::File::PrepareTRMML3M_V7(), HDFSP::File::PrepareTRMML3S_V7(), HDFSP::SD::Read(), HDFSP::VDATA::Read(), and HDFSP::SD::Read_Hybrid().
|
protected |
The "units" attribute.
Definition at line 464 of file HDFSP.h.
Referenced by getUnits(), and setUnits().